mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 16:30:31 +01:00
Don't free error if it doesn't exist
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4028 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
56a353dd13
commit
16e52d474a
1 changed files with 2 additions and 1 deletions
|
|
@ -155,7 +155,8 @@ dir_changed (GFileMonitor *monitor,
|
|||
g_warning ("%s: couldn't update connection settings: (%d) %s",
|
||||
__func__, error ? error->code : 0,
|
||||
error ? error->message : "unknown");
|
||||
g_error_free (error);
|
||||
if (error)
|
||||
g_error_free (error);
|
||||
}
|
||||
g_object_unref (tmp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue