Changeset: a77613489322 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a77613489322
Modified Files:
clients/mapiclient/mclient.c
Branch: default
Log Message:
Resolve memory leak in mclient
diffs (12 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -3723,5 +3723,8 @@ main(int argc, char **argv)
mapi_destroy(mid);
mnstr_destroy(stdout_stream);
mnstr_destroy(stderr_stream);
+ if (priv.buf != NULL)
+ free(priv.buf);
+
return c;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list