1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-10-22 12:45:23 +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:
Guido Günther 2024-09-14 11:18:50 +02:00 committed by Marge Bot
parent 313d18509d
commit e2f3f5ef53

View file

@ -342,7 +342,7 @@ calls_settings_set_autoload_plugins (CallsSettings *self,
return;
}
g_free (self->autoload_plugins);
g_strfreev (self->autoload_plugins);
self->autoload_plugins = g_strdupv ((char **) plugins);
if (!initial)