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