json-glib r41 - in branches/json-glib-0-6: . json-glib
- From: ebassi svn gnome org
- To: svn-commits-list gnome org
- Subject: json-glib r41 - in branches/json-glib-0-6: . json-glib
- Date: Tue, 20 May 2008 10:14:47 +0000 (UTC)
Author: ebassi
Date: Tue May 20 10:14:47 2008
New Revision: 41
URL: http://svn.gnome.org/viewvc/json-glib?rev=41&view=rev
Log:
2008-05-20  Emmanuele Bassi  <ebassi openedhand com>
	* json-glib/json-gobject.c: Do not free the data segment of
	the pointer array used to build the string vector properties,
	as it is using pointers to data stored elsewhere
Modified:
   branches/json-glib-0-6/ChangeLog
   branches/json-glib-0-6/json-glib/json-gobject.c
Modified: branches/json-glib-0-6/json-glib/json-gobject.c
==============================================================================
--- branches/json-glib-0-6/json-glib/json-gobject.c	(original)
+++ branches/json-glib-0-6/json-glib/json-gobject.c	Tue May 20 10:14:47 2008
@@ -204,7 +204,7 @@
 
           g_value_set_boxed (value, str_array->pdata);
 
-          g_ptr_array_free (str_array, TRUE);
+          g_ptr_array_free (str_array, FALSE);
 
           retval = TRUE;
         }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]