summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-09-04 12:58:28 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-09-04 12:58:28 -0400
commite14dbe8aa6dfaeea4a9f3405cf2f3e238e88623b (patch)
treeb5646959ba433d6aea576efcea02cc551823ad8e
parent11e46cd40dc29d7517b8cc65c9a91a6f17535019 (diff)
downloadlibgnome-volume-control-e14dbe8aa6dfaeea4a9f3405cf2f3e238e88623b.tar.gz
gvc-mixer-ui-device: Fix memory leak
-rw-r--r--gvc-mixer-ui-device.c1
1 files changed, 1 insertions, 0 deletions
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) {