mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 08:58:28 +02:00
settings: fix use after free in keyfile's load_connections()
Fixes:d35d3c468a('settings: rework tracking settings connections and settings plugins') (cherry picked from commiteb642fecdf) (cherry picked from commit6d37f690ad)
This commit is contained in:
parent
8274cc1353
commit
aa545d5b58
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,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