2007-08-15 Dan Williams <dcbw@redhat.com>

* src/nm-dbus-nmi.c
		- (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
			caused a reference leak on device for which NM requested a key



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2697 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-08-15 18:49:52 +00:00
parent e2ca9c32f3
commit cf24e61f74
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2007-08-15 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nmi.c
- (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
caused a reference leak on device for which NM requested a key
2007-08-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-client.c

View file

@ -85,8 +85,6 @@ nm_dbus_get_user_key_for_network_cb (DBusPendingCall *pcall,
nm_dbus_send_with_callback_replied (pcall, __func__);
dbus_pending_call_ref (pcall);
if (!(reply = dbus_pending_call_steal_reply (pcall)))
goto out;
@ -134,7 +132,6 @@ nm_dbus_get_user_key_for_network_cb (DBusPendingCall *pcall,
out:
if (reply)
dbus_message_unref (reply);
g_object_unref (req);
dbus_pending_call_unref (pcall);
}