From 207b7c641c7da7b21c37abb24cc8fd57b27b85dc Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Mon, 16 Jun 2014 16:34:50 -0400 Subject: yelp-help-list: Fix double unref --- libyelp/yelp-help-list.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libyelp/yelp-help-list.c b/libyelp/yelp-help-list.c index 9cb72088..4a5c8705 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); -- cgit v1.2.1