[libgda] Partial correction for bug #680639
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Partial correction for bug #680639
- Date: Fri, 27 Jul 2012 12:08:34 +0000 (UTC)
commit 0bc099adf8e9c7595b82f679e32ff6d2d43232b8
Author: Vivien Malerba <malerba gnome-db org>
Date: Fri Jul 27 12:02:05 2012 +0200
Partial correction for bug #680639
libgda/sql-parser/gda-statement-struct-update.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index 8830edb..8d8e169 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -77,10 +77,16 @@ gda_sql_statement_update_free (gpointer stmt)
if (list->data)
gda_sql_field_free ((GdaSqlField *) list->data);
}
+ if (update->fields_list)
+ g_slist_free (update->fields_list);
+
for (list = update->expr_list; list; list = list->next) {
if (list->data)
gda_sql_expr_free ((GdaSqlExpr *) list->data);
}
+ if (update->expr_list)
+ g_slist_free (update->expr_list);
+
if (update->cond)
gda_sql_expr_free (update->cond);
g_free (update);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]