mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 03:50:17 +01:00
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:
parent
4c462f46de
commit
578f8d89f6
2 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue