mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 06:40:18 +01:00
settings: don't leak keyfile plugin instance
We leaked a reference to the keyfile plugin and thus it was not destructed on shutdown.
This commit is contained in:
parent
406b05a31a
commit
68eec304e2
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ find_plugin (GSList *list, const char *pname)
|
|||
static void
|
||||
add_keyfile_plugin (NMSettings *self)
|
||||
{
|
||||
GObject *keyfile_plugin;
|
||||
gs_unref_object GObject *keyfile_plugin = NULL;
|
||||
|
||||
keyfile_plugin = nm_settings_keyfile_plugin_new ();
|
||||
g_assert (keyfile_plugin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue