[nautilus] update_restore_from_trash_action: fix leaked tooltip
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] update_restore_from_trash_action: fix leaked tooltip
- Date: Fri, 24 Aug 2012 16:44:02 +0000 (UTC)
commit caf94f656c68333f77241ac1e3ffb912eb127bf3
Author: Pavel Vasin <rat4vier gmail com>
Date: Thu Aug 23 21:46:47 2012 +0400
update_restore_from_trash_action: fix leaked tooltip
https://bugzilla.gnome.org/show_bug.cgi?id=682603
src/nautilus-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 9426e69..b440c85 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -8221,6 +8221,7 @@ update_restore_from_trash_action (GtkAction *action,
g_free (original_name);
g_object_set (action, "tooltip", tooltip, NULL);
+ g_free (tooltip);
if (original_location != NULL) {
g_object_unref (original_location);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]