Commit 92077eb5 authored by Dan Williams's avatar Dan Williams
Browse files

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
parent 086b825d
2006-08-06 Dan Williams <dcbw@redhat.com>
* src/nm-activation-request.c
- Refcount pending call objects
2006-08-06 Dan Williams <dcbw@redhat.com> 2006-08-06 Dan Williams <dcbw@redhat.com>
Patch from Christan Chiesa <christanc@gmail.com> Patch from Christan Chiesa <christanc@gmail.com>
......
...@@ -209,7 +209,11 @@ void nm_act_request_set_user_key_pending_call (NMActRequest *req, DBusPendingCal ...@@ -209,7 +209,11 @@ void nm_act_request_set_user_key_pending_call (NMActRequest *req, DBusPendingCal
{ {
g_return_if_fail (req != NULL); g_return_if_fail (req != NULL);
if (req->user_key_pcall)
dbus_pending_call_unref (req->user_key_pcall);
req->user_key_pcall = 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) guint8 nm_act_request_get_dhcp_state (NMActRequest *req)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment