[gnome-shell] shell-util: fix GFile leak
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-util: fix GFile leak
- Date: Fri, 15 Jun 2012 05:05:24 +0000 (UTC)
commit 447246da741da9126aadb41c98a9179290bbcd86
Author: Pavel Vasin <rat4vier gmail com>
Date: Wed Jun 13 16:49:20 2012 +0400
shell-util: fix GFile leak
https://bugzilla.gnome.org/show_bug.cgi?id=678079
src/shell-util.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-util.c b/src/shell-util.c
index bd211f0..12f0572 100644
--- a/src/shell-util.c
+++ b/src/shell-util.c
@@ -96,6 +96,7 @@ shell_util_get_file_display_for_common_files (GFile *file)
* nautilus */
return g_strdup (_("Home"));
}
+ g_object_unref (compare);
compare = g_file_new_for_path ("/");
if (g_file_equal (file, compare))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]