about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2008-07-05 12:59:01 +0000
committerMichael Biebl <biebl@debian.org>2008-07-05 12:59:01 +0000
commitd3b68e218e4bc02fc9056797dd5e120704ad8121 (patch)
tree5d11d821af2af58ba5714684ae56d860555b8f78 /debian/patches
parent7c0c1bdc6afc0968a1b7df06600dabbac997143d (diff)
* debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch
  - Fix memory leak in src/nm-dbus-net.c. (Closes: #488604)

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@2346 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch b/debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch
new file mode 100644
index 00000000..c3bf1011
--- /dev/null
+++ b/debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch
@@ -0,0 +1,13 @@
+Index: src/nm-dbus-net.c
+===================================================================
+--- src/nm-dbus-net.c	(Revision 3769)
++++ src/nm-dbus-net.c	(Revision 3770)
+@@ -69,6 +69,8 @@
+ 
+ 		compare_path = g_strdup_printf ("%s/%s/Networks/%s",
+ 		                                NM_DBUS_PATH_DEVICES, escaped_dev, escaped_ssid);
++		g_free (escaped_dev);
++		g_free (escaped_ssid);
+ 
+ 		len = strlen (compare_path);
+ 		if (strncmp (path, compare_path, len) == 0) {