[grilo-plugins] podcasts: Fix leak



commit 1fde7febda77176d0e926b4510cfb11610cd313d
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Jul 13 14:10:09 2010 +0200

    podcasts: Fix leak
    
    Free error.

 src/podcasts/grl-podcasts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/podcasts/grl-podcasts.c b/src/podcasts/grl-podcasts.c
index ec624b6..7e380c1 100644
--- a/src/podcasts/grl-podcasts.c
+++ b/src/podcasts/grl-podcasts.c
@@ -400,6 +400,7 @@ read_done_cb (GObject *source_object,
   g_object_unref (source_object);
   if (vfs_error) {
     g_warning ("Failed to open '%s': %s", arc->url, vfs_error->message);
+    g_error_free (vfs_error);
   } else {
     arc->callback (content, arc->user_data);
   }



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