From 6640f9c707049812f0993c254d95b7eea7a77b4a Mon Sep 17 00:00:00 2001 From: Elio Blanca Date: Mon, 4 Sep 2023 02:54:22 +0200 Subject: [PATCH] fix use after free (#419) --- src/util/mdb-prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/mdb-prop.c b/src/util/mdb-prop.c index a6871e8..4b6011e 100644 --- a/src/util/mdb-prop.c +++ b/src/util/mdb-prop.c @@ -97,9 +97,9 @@ main(int argc, char **argv) g_free(buf); mdb_free_tabledef(table); g_free(table_name); - g_free(propColName); mdb_close(mdb); printf("Column %s not found in MSysObjects!\n", propColName); + g_free(propColName); return 1; }