[libgnome-volume-control] gvc-mixer-ui-device: Fix memory leak



commit e14dbe8aa6dfaeea4a9f3405cf2f3e238e88623b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Sep 4 12:58:28 2013 -0400

    gvc-mixer-ui-device: Fix memory leak

 gvc-mixer-ui-device.c |    1 +
 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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]