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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user