diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2009-03-01 18:22:31 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2009-03-01 18:22:31 +0000 |
commit | 4473bec977b91eb93477d92fac95e69a6746a1c4 (patch) | |
tree | b41717ad5f3df8b36e08e44050452528b28ec20d /sysutils/hal | |
parent | cae051591a5e97916effafa3519905c9174b9000 (diff) | |
download | pkgsrc-4473bec977b91eb93477d92fac95e69a6746a1c4.tar.gz |
Plug a memory leak in envsys_timeout; the caller of prop_dictionary_all_keys
is responsible for freeing allocated memory. Bump PKGREVISION.
Diffstat (limited to 'sysutils/hal')
-rw-r--r-- | sysutils/hal/Makefile | 4 | ||||
-rw-r--r-- | sysutils/hal/files/hald-netbsd/envsys.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index 64f4110fdf2..2a8e8245641 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2009/02/28 15:54:29 ahoka Exp $ +# $NetBSD: Makefile,v 1.37 2009/03/01 18:22:31 jmcneill Exp $ DISTNAME= hal-0.5.11 -PKGREVISION= 21 +PKGREVISION= 22 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ EXTRACT_SUFX= .tar.bz2 diff --git a/sysutils/hal/files/hald-netbsd/envsys.c b/sysutils/hal/files/hald-netbsd/envsys.c index 169535c8765..37a10fe497d 100644 --- a/sysutils/hal/files/hald-netbsd/envsys.c +++ b/sysutils/hal/files/hald-netbsd/envsys.c @@ -1,4 +1,4 @@ -/* $NetBSD: envsys.c,v 1.4 2008/12/04 03:35:59 jmcneill Exp $ */ +/* $NetBSD: envsys.c,v 1.5 2009/03/01 18:22:31 jmcneill Exp $ */ /*- * Copyright (c) 2008 Jared D. McNeill <jmcneill@invisible.ca> @@ -122,6 +122,7 @@ envsys_timeout(gpointer user_data) } prop_object_iterator_release (iter); + prop_object_release (global_array); prop_object_release (global_dict); return TRUE; } |