mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-23 20:15:32 +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:
parent
141eb85580
commit
313d18509d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue