gvc-mixer-ui-device: Fix memory leak

This commit is contained in:
Jasper St. Pierre 2013-09-04 12:58:28 -04:00
parent 11e46cd40d
commit e14dbe8aa6

View File

@ -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) {