glib r7743 - in trunk: . gio



Author: ryanl
Date: Fri Dec 12 20:59:54 2008
New Revision: 7743
URL: http://svn.gnome.org/viewvc/glib?rev=7743&view=rev

Log:
2008-12-12  Ryan Lortie  <desrt desrt ca>

        * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
        with them



Modified:
   trunk/ChangeLog
   trunk/gio/gicon.c

Modified: trunk/gio/gicon.c
==============================================================================
--- trunk/gio/gicon.c	(original)
+++ trunk/gio/gicon.c	Fri Dec 12 20:59:54 2008
@@ -202,6 +202,8 @@
       /* We really only need to escape spaces here, so allow lots of otherwise reserved chars */
       g_string_append_uri_escaped (s, token,
 				   G_URI_RESERVED_CHARS_ALLOWED_IN_PATH, TRUE);
+
+      g_free (token);
     }
   
   g_ptr_array_free (tokens, TRUE);



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