[yelp/new-aday-design] yelp-help-list: Fix double unref



commit 207b7c641c7da7b21c37abb24cc8fd57b27b85dc
Author: Shaun McCance <shaunm gnome org>
Date:   Mon Jun 16 16:34:50 2014 -0400

    yelp-help-list: Fix double unref

 libyelp/yelp-help-list.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libyelp/yelp-help-list.c b/libyelp/yelp-help-list.c
index 9cb7208..4a5c870 100644
--- a/libyelp/yelp-help-list.c
+++ b/libyelp/yelp-help-list.c
@@ -347,7 +347,6 @@ help_list_think (YelpHelpList *list)
                     entry->id = docid;
                     entry->filename = filename;
                     entry->type = YELP_URI_DOCUMENT_TYPE_MALLARD;
-                    g_object_unref (child);
                     goto found;
                 }
                 g_free (filename);
@@ -361,7 +360,6 @@ help_list_think (YelpHelpList *list)
                     entry->id = docid;
                     entry->filename = filename;
                     entry->type = YELP_URI_DOCUMENT_TYPE_DOCBOOK;
-                    g_object_unref (child);
                     goto found;
                 }
                 g_free (filename);


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