[grilo-plugins] youtube: fix memleak



commit 9225703c3ba3c04663b75ed261a5269e85feb3c7
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Wed Sep 22 23:25:51 2010 +0200

    youtube: fix memleak
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 src/youtube/grl-youtube.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index d701851..50c6836 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -664,6 +664,7 @@ build_categories_directory_read_cb (gchar *xmldata, gpointer user_data)
   parse_categories (doc, node, GDATA_SERVICE (user_data));
 
  free_resources:
+  g_free (xmldata);
   xmlFreeDoc (doc);
 }
 



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