mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
gsettings: free group_names after use
This commit is contained in:
parent
2977afb9b0
commit
f97cd3449e
1 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,11 @@ int main(int argc, char *argv[]) {
|
|||
g_main_loop_unref(g);
|
||||
|
||||
g_ptr_array_unref(groups);
|
||||
|
||||
/* group_names can't be freed earlier, because the values are being used as
|
||||
* the user_data for module_group_callback(). */
|
||||
g_strfreev(group_names);
|
||||
|
||||
g_object_unref(G_OBJECT(settings));
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue