[nautilus] search: fix leaked display_name
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] search: fix leaked display_name
- Date: Fri, 24 Aug 2012 16:44:12 +0000 (UTC)
commit d319bf353c04f71f720ec680f0fda04a6e8f768d
Author: Pavel Vasin <rat4vier gmail com>
Date: Fri Aug 24 11:05:49 2012 +0400
search: fix leaked display_name
https://bugzilla.gnome.org/show_bug.cgi?id=682603
.../nautilus-search-directory-file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-directory-file.c b/libnautilus-private/nautilus-search-directory-file.c
index ae9228d..9b22c9d 100644
--- a/libnautilus-private/nautilus-search-directory-file.c
+++ b/libnautilus-private/nautilus-search-directory-file.c
@@ -190,6 +190,8 @@ nautilus_search_directory_file_update_display_name (NautilusSearchDirectoryFile
if (changed) {
nautilus_file_emit_changed (file);
}
+
+ g_free (display_name);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]