NetworkManager r3638 - in trunk: . libnm-glib
- From: tambeti svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3638 - in trunk: . libnm-glib
- Date: Wed, 7 May 2008 10:21:45 +0100 (BST)
Author: tambeti
Date: Wed May 7 09:21:44 2008
New Revision: 3638
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3638&view=rev
Log:
2008-05-07 Tambet Ingo <tambet gmail com>
Patch from Andrà Lemos.
* libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
corruption.
Modified:
trunk/ChangeLog
trunk/libnm-glib/nm-dbus-settings.c
Modified: trunk/libnm-glib/nm-dbus-settings.c
==============================================================================
--- trunk/libnm-glib/nm-dbus-settings.c (original)
+++ trunk/libnm-glib/nm-dbus-settings.c Wed May 7 09:21:44 2008
@@ -95,13 +95,12 @@
new_connection_cb (proxy, path, user_data);
g_free (path);
}
+
+ g_ptr_array_free (connections, TRUE);
} else {
g_warning ("Could not retrieve dbus connections: %s.", err->message);
g_error_free (err);
}
-
- if (connections)
- g_ptr_array_free (connections, TRUE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]