summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2014-06-16 16:34:50 -0400
committerShaun McCance <shaunm@gnome.org>2014-06-16 16:34:50 -0400
commit207b7c641c7da7b21c37abb24cc8fd57b27b85dc (patch)
tree06c9ebb9fbf47515e4a698b887bb794965febbfb
parented63b3e6c7c9decf35284907644234bbde3d99f2 (diff)
downloadyelp-207b7c641c7da7b21c37abb24cc8fd57b27b85dc.tar.gz
yelp-help-list: Fix double unref
-rw-r--r--libyelp/yelp-help-list.c2
1 files changed, 0 insertions, 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);