pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/hal Plug a memory leak in envsys_timeout; the...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7f684d3e3089
branches: trunk
changeset: 555393:7f684d3e3089
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Sun Mar 01 18:22:31 2009 +0000
description:
Plug a memory leak in envsys_timeout; the caller of prop_dictionary_all_keys
is responsible for freeing allocated memory. Bump PKGREVISION.
diffstat:
sysutils/hal/Makefile | 4 ++--
sysutils/hal/files/hald-netbsd/envsys.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 2c609c5ab469 -r 7f684d3e3089 sysutils/hal/Makefile
--- a/sysutils/hal/Makefile Sun Mar 01 18:13:50 2009 +0000
+++ b/sysutils/hal/Makefile Sun Mar 01 18:22:31 2009 +0000
@@ -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 -r 2c609c5ab469 -r 7f684d3e3089 sysutils/hal/files/hald-netbsd/envsys.c
--- a/sysutils/hal/files/hald-netbsd/envsys.c Sun Mar 01 18:13:50 2009 +0000
+++ b/sysutils/hal/files/hald-netbsd/envsys.c Sun Mar 01 18:22:31 2009 +0000
@@ -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@localhost>
@@ -122,6 +122,7 @@
}
prop_object_iterator_release (iter);
+ prop_object_release (global_array);
prop_object_release (global_dict);
return TRUE;
}
Home |
Main Index |
Thread Index |
Old Index