mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-09 13:25:35 +00:00
settings: Don't leak autoload plugins
Use the correct cleanup func Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/756>
This commit is contained in:
parent
313d18509d
commit
e2f3f5ef53
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ calls_settings_set_autoload_plugins (CallsSettings *self,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free (self->autoload_plugins);
|
g_strfreev (self->autoload_plugins);
|
||||||
self->autoload_plugins = g_strdupv ((char **) plugins);
|
self->autoload_plugins = g_strdupv ((char **) plugins);
|
||||||
|
|
||||||
if (!initial)
|
if (!initial)
|
||||||
|
|
Loading…
Reference in a new issue