[grilo-plugins] jamendo: Plug some leaks



commit 6af06fabfa9995fc51cc58be7bc2549724fe72b0
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed Apr 13 14:54:42 2011 +0000

    jamendo: Plug some leaks
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/media/jamendo/grl-jamendo.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/media/jamendo/grl-jamendo.c b/src/media/jamendo/grl-jamendo.c
index b8426c2..b620797 100644
--- a/src/media/jamendo/grl-jamendo.c
+++ b/src/media/jamendo/grl-jamendo.c
@@ -1168,6 +1168,7 @@ grl_jamendo_source_browse (GrlMediaSource *source,
                                jamendo_keys,
                                page_size,
                                page_number);
+        g_free (jamendo_keys);
       } else {
         send_feeds (bs);
         return;
@@ -1270,6 +1271,7 @@ grl_jamendo_source_query (GrlMediaSource *source,
                          page_number,
                          term);
   g_free (term);
+  g_free (jamendo_keys);
 
   xpe = g_slice_new0 (XmlParseEntries);
   xpe->type = QUERY;
@@ -1334,6 +1336,7 @@ grl_jamendo_source_search (GrlMediaSource *source,
                                           ss->search_id, xpe);
 
   read_url_async (GRL_JAMENDO_SOURCE (source), url, xpe);
+  g_free (jamendo_keys);
   g_free (url);
 }
 



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