diff options
author | jmcneill <jmcneill> | 2009-03-01 18:22:31 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2009-03-01 18:22:31 +0000 |
commit | c6f9c406bed5a9c6d3b20eb4921b40b75f9097ef (patch) | |
tree | b41717ad5f3df8b36e08e44050452528b28ec20d /sysutils | |
parent | 1699edbe471f431ff65202732050e1576fe3a542 (diff) | |
download | pkgsrc-c6f9c406bed5a9c6d3b20eb4921b40b75f9097ef.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')
-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; } |