From e14dbe8aa6dfaeea4a9f3405cf2f3e238e88623b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 4 Sep 2013 12:58:28 -0400 Subject: [PATCH] gvc-mixer-ui-device: Fix memory leak --- gvc-mixer-ui-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gvc-mixer-ui-device.c b/gvc-mixer-ui-device.c index a108310..2259c0d 100644 --- a/gvc-mixer-ui-device.c +++ b/gvc-mixer-ui-device.c @@ -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) {