gnome-main-menu r517 - trunk/libslab



Author: federico
Date: Tue Oct 28 01:27:32 2008
New Revision: 517
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=517&view=rev

Log:
Free some strings

Signed-off-by: Federico Mena Quintero <federico novell com>

Modified:
   trunk/libslab/ChangeLog
   trunk/libslab/bookmark-agent.c

Modified: trunk/libslab/bookmark-agent.c
==============================================================================
--- trunk/libslab/bookmark-agent.c	(original)
+++ trunk/libslab/bookmark-agent.c	Tue Oct 28 01:27:32 2008
@@ -1063,6 +1063,8 @@
 
 	if (libslab_strcmp (uri, uri_new))
 		g_bookmark_file_move_item (priv->store, uri, uri_new, NULL);
+
+	g_free (uri_new);
 }
 
 static void
@@ -1121,6 +1123,8 @@
 
 	if (libslab_strcmp (uri, uri_new))
 		g_bookmark_file_move_item (priv->store, uri, uri_new, NULL);
+
+	g_free (uri_new);
 }
 
 static void
@@ -1204,6 +1208,8 @@
 	
 	if (uri_new && libslab_strcmp (uri, uri_new))
 		g_bookmark_file_move_item (priv->store, uri, uri_new, NULL);
+
+	g_free (uri_new);
 }
 
 static void



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