2006-08-06 Dan Williams <dcbw@redhat.com>

* src/nm-activation-request.c
		- Refcount pending call objects


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1939 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2006-08-07 02:59:12 +00:00
parent 086b825df4
commit 92077eb5ab
2 changed files with 9 additions and 0 deletions

View File

@@ -209,7 +209,11 @@ void nm_act_request_set_user_key_pending_call (NMActRequest *req, DBusPendingCal
{
g_return_if_fail (req != NULL);
if (req->user_key_pcall)
dbus_pending_call_unref (req->user_key_pcall);
req->user_key_pcall = pcall;
if (req->user_key_pcall)
dbus_pending_call_ref (req->user_key_pcall);
}
guint8 nm_act_request_get_dhcp_state (NMActRequest *req)