mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-21 16:30:41 -05: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);
|
candidates = g_list_append (candidates, p);
|
||||||
g_debug ("Candidate for profile switching: '%s'", p->profile);
|
g_debug ("Candidate for profile switching: '%s'", p->profile);
|
||||||
}
|
}
|
||||||
|
g_free (canonical_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!candidates) {
|
if (!candidates) {
|
||||||
|
Loading…
Reference in New Issue
Block a user