Commit 578f8d89 authored by Dan Williams's avatar Dan Williams
Browse files

2005-03-29 Dan Williams <dcbw@redhat.com>

	* src/NetworkManagerDevice.c
		- (nm_device_force_use): Fix possible segfault


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@526 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 4c462f46
2005-03-29 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
- (nm_device_force_use): Fix possible segfault
2005-03-29 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
......
......@@ -3241,9 +3241,11 @@ gboolean nm_device_force_use (gpointer user_data)
out:
/* Function that scheduled us must ref the device */
nm_device_unref (cb_data->dev);
if (cb_data->dev)
nm_device_unref (cb_data->dev);
if (app_data)
app_data->forcing_device = FALSE;
app_data->forcing_device = FALSE;
g_free (cb_data);
return FALSE;
}
......
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