mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 16:50:35 +01:00
config: fix leaked GError when no default config file exists
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
397762c2c7
commit
a218199eb6
1 changed files with 1 additions and 0 deletions
|
|
@ -403,6 +403,7 @@ find_base_config (NMConfig *config, GError **error)
|
|||
g_propagate_error (error, my_error);
|
||||
return FALSE;
|
||||
}
|
||||
g_clear_error (&my_error);
|
||||
|
||||
/* If for some reason no config file exists, use the default
|
||||
* config file path.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue