From bead26f42fd9747cf1f754c3e78b8a3091a17a96 Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 19 Jun 2017 13:59:39 +0100 Subject: Fix a leak of a GFileInfo --- libyelp/yelp-uri.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c index 7425f25c..317beead 100644 --- a/libyelp/yelp-uri.c +++ b/libyelp/yelp-uri.c @@ -605,6 +605,8 @@ resolve_file_path (YelpUri *uri) else { priv->gfile = g_file_resolve_relative_path (base_priv->gfile, path); } + + g_object_unref (info); } else { gchar *cur; -- cgit v1.2.1