about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
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) {