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
This commit is contained in:
Dan Williams 2005-03-29 21:55:03 +00:00
parent 4c462f46de
commit 578f8d89f6
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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;
}