mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-12-22 12:22:06 +00:00
gvc-mixer-ui-device: Fix memory leak
This commit is contained in:
parent
11e46cd40d
commit
e14dbe8aa6
@ -487,6 +487,7 @@ gvc_mixer_ui_device_get_best_profile (GvcMixerUIDevice *device,
|
||||
candidates = g_list_append (candidates, p);
|
||||
g_debug ("Candidate for profile switching: '%s'", p->profile);
|
||||
}
|
||||
g_free (canonical_name);
|
||||
}
|
||||
|
||||
if (!candidates) {
|
||||
|
Loading…
Reference in New Issue
Block a user