1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-10-22 04:35:23 +00:00

settings: Don't leak audio codecs

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 141eb85580
commit 313d18509d

View file

@ -388,7 +388,7 @@ calls_settings_set_preferred_audio_codecs (CallsSettings *self,
return;
}
g_free (self->preferred_audio_codecs);
g_strfreev (self->preferred_audio_codecs);
self->preferred_audio_codecs = g_strdupv ((char **) codecs);
if (!initial)