gtk+ r21708 - in trunk: . gtk



Author: matthiasc
Date: Fri Oct 24 04:21:25 2008
New Revision: 21708
URL: http://svn.gnome.org/viewvc/gtk+?rev=21708&view=rev

Log:
2008-10-24  Matthias Clasen  <mclasen redhat com>

        Bug 556954 â gtk+/gtk/gtkrecentchooserdefault.c: mismatching
        allocation and deallocation

        * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
        free a strdup'ed string by g_free. Pointed out by Daniel MarjamÃki


Modified:
   trunk/ChangeLog
   trunk/gtk/gtkrecentchooserdefault.c

Modified: trunk/gtk/gtkrecentchooserdefault.c
==============================================================================
--- trunk/gtk/gtkrecentchooserdefault.c	(original)
+++ trunk/gtk/gtkrecentchooserdefault.c	Fri Oct 24 04:21:25 2008
@@ -1609,7 +1609,7 @@
     {
       gchar *msg;
    
-      msg = strdup (_("Could not remove item"));
+      msg = g_strdup (_("Could not remove item"));
       error_message (impl, msg, err->message);
       
       g_free (msg);



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