[libgda] GdaMetaStore: Fix memory leak at internal table info free
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaMetaStore: Fix memory leak at internal table info free
- Date: Wed, 24 Apr 2019 22:32:37 +0000 (UTC)
commit c07ba0ba01e44dc437c529308f89a4ff8db9e3e8
Author: Daniel Espinosa <esodan gmail com>
Date: Wed Apr 24 08:34:04 2019 -0500
GdaMetaStore: Fix memory leak at internal table info free
libgda/gda-meta-store.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 4ff989351..fa7d8a72c 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -2536,7 +2536,7 @@ table_info_free_contents (TableInfo *info)
g_object_unref (info->params);
g_free (info->pk_cols_array);
g_free (info->type_cols_array);
- g_slist_free (info->fk_list);
+ g_slist_free_full (info->fk_list, (GDestroyNotify) table_fkey_free);
g_slist_free (info->reverse_fk_list);
if (info->ident_cols)
g_free (info->ident_cols);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]