[yelp] Fix a leak of a GFileInfo
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] Fix a leak of a GFileInfo
- Date: Mon, 19 Jun 2017 14:22:27 +0000 (UTC)
commit bead26f42fd9747cf1f754c3e78b8a3091a17a96
Author: David King <amigadave amigadave com>
Date: Mon Jun 19 13:59:39 2017 +0100
Fix a leak of a GFileInfo
libyelp/yelp-uri.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c
index 7425f25..317beea 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]