Changeset: bbff7344302c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bbff7344302c
Modified Files:
        tools/merovingian/client/monetdb.c
Branch: hot-snapshot
Log Message:

Plug one memory leak


diffs (13 lines):

diff --git a/tools/merovingian/client/monetdb.c 
b/tools/merovingian/client/monetdb.c
--- a/tools/merovingian/client/monetdb.c
+++ b/tools/merovingian/client/monetdb.c
@@ -2107,7 +2107,8 @@ command_snapshot_restore(int argc, char 
 
        // check if the database exists
        sabdb *db = NULL;
-       MEROgetStatus(&db, dbname); // ignore errors
+       char *e = MEROgetStatus(&db, dbname); // ignore errors
+       free(e);
 
        if (db != NULL && !force) {
                char answ;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to