libgda r3330 - in trunk: . libgda



Author: vivien
Date: Sun Feb 22 17:53:51 2009
New Revision: 3330
URL: http://svn.gnome.org/viewvc/libgda?rev=3330&view=rev

Log:
2009-02-22  Armin Burgmeier  <armin openismus com>

	* libgda/gda-util.c (gda_utility_data_model_dump_data_to_xml): Don't
	leak rcols, fixes bug #572734


Modified:
   trunk/ChangeLog
   trunk/libgda/gda-util.c

Modified: trunk/libgda/gda-util.c
==============================================================================
--- trunk/libgda/gda-util.c	(original)
+++ trunk/libgda/gda-util.c	Sun Feb 22 17:53:51 2009
@@ -406,6 +406,9 @@
 		}
 	}
 
+	if(!cols)
+		g_free(rcols);
+
 	if (use_col_ids) {
 		gint c;
 		for (c = 0; c < rnb_cols; c++) 



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