[nautilus/gnome-3-2] desktop-link-monitor: plug a memory leak



commit 2ab73b016dab823eeff47e8b641cb226ec4b482a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Sep 28 19:30:59 2011 -0400

    desktop-link-monitor: plug a memory leak

 .../nautilus-desktop-link-monitor.c                |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-desktop-link-monitor.c b/libnautilus-private/nautilus-desktop-link-monitor.c
index 0610eb8..2f79ce9 100644
--- a/libnautilus-private/nautilus-desktop-link-monitor.c
+++ b/libnautilus-private/nautilus-desktop-link-monitor.c
@@ -390,6 +390,8 @@ create_link_and_add_preference (NautilusDesktopLink   **link_ref,
 	g_signal_connect_swapped (nautilus_desktop_preferences,
 				  detailed_signal,
 				  callback, callback_data);
+
+	g_free (detailed_signal);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]