[libgda/LIBGDA_5.2] Double free correction



commit 13f4919c803198ce16e98557df526247c3561948
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Feb 24 22:36:17 2015 +0100

    Double free correction

 libgda/gda-data-proxy.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c
index 4b6179c..f1ae639 100644
--- a/libgda/gda-data-proxy.c
+++ b/libgda/gda-data-proxy.c
@@ -3337,8 +3337,6 @@ gda_data_proxy_set_ordering_column (GdaDataProxy *proxy, gint col, GError **erro
                        expr->value = gda_value_new (G_TYPE_STRING);
                        g_value_take_string (expr->value, colname);
                }
-               else
-                       g_free (colname);
 
                g_object_set (G_OBJECT (proxy->priv->filter_stmt), "structure", sqlst, NULL);
 #ifdef GDA_DEBUG_NO


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