Re: [PATCH] youtube: fix memleak



On Wed, Sep 22, 2010 at 11:27:51PM +0200, Víctor Manuel Jáquez Leal wrote:
> 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);
>  }
>  

Pushed

vmjl


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