gnome-main-menu r524 - trunk/libslab
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r524 - trunk/libslab
- Date: Thu, 6 Nov 2008 20:41:50 +0000 (UTC)
Author: federico
Date: Thu Nov 6 20:41:50 2008
New Revision: 524
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=524&view=rev
Log:
Don't leak a bookmark title
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 Thu Nov 6 20:41:50 2008
@@ -1061,6 +1061,8 @@
else if (! libslab_strcmp (name, "Shutdown"))
g_bookmark_file_set_title (priv->store, uri, _("Shutdown"));
+ g_free (name);
+
if (libslab_strcmp (uri, uri_new))
g_bookmark_file_move_item (priv->store, uri, uri_new, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]