[sound-juicer] Fix a memory leak in album_details_free



commit bfa810c12295ae2ccdf21a60c3dad58ead449c04
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Mon Aug 18 14:22:38 2014 +0100

    Fix a memory leak in album_details_free
    
    The label list wasn't being freed.

 libjuicer/sj-structures.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libjuicer/sj-structures.c b/libjuicer/sj-structures.c
index 95ee1e9..ec7ceda 100644
--- a/libjuicer/sj-structures.c
+++ b/libjuicer/sj-structures.c
@@ -62,6 +62,7 @@ void album_details_free(AlbumDetails *album)
   g_free (album->country);
   g_free (album->type);
   g_list_foreach (album->labels, (GFunc)label_details_free, NULL);
+  g_list_free (album->labels);
   g_free (album);
 }
 


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