From 38c2a48fc748af2f603576fb37d7423c74257a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 11 Apr 2015 08:37:24 +0000 Subject: [PATCH] [GB.DB] * BUG: Fix a memory leak in the Connection.Delete() method. git-svn-id: svn://localhost/gambas/trunk@7027 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/lib/db/CResult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/lib/db/CResult.c b/main/lib/db/CResult.c index 3b1529a79..56d6927de 100644 --- a/main/lib/db/CResult.c +++ b/main/lib/db/CResult.c @@ -265,7 +265,7 @@ CRESULT *DB_MakeResult(CCONNECTION *conn, int mode, char *table_temp, char *quer case RESULT_DELETE: - conn->driver->Exec(&conn->db, query, &res, "Query failed: &1"); + conn->driver->Exec(&conn->db, query, NULL, "Query failed: &1"); return NULL; }