mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 03:50:31 +01:00
settings: fix use after free in keyfile's load_connections()
Fixes: d35d3c468a ('settings: rework tracking settings connections and settings plugins')
This commit is contained in:
parent
1e742e0fb4
commit
eb642fecdf
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ _load_file (NMSKeyfilePlugin *self,
|
|||
&local);
|
||||
if (!connection) {
|
||||
if (error)
|
||||
g_propagate_error (error, local);
|
||||
g_propagate_error (error, g_steal_pointer (&local));
|
||||
else
|
||||
_LOGW ("load: \"%s\": failed to load connection: %s", full_filename, local->message);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue