Changeset: 00e93696a301 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/00e93696a301
Modified Files:
monetdb5/mal/mal_session.c
Branch: Jul2021
Log Message:
more missing closeclients
diffs (22 lines):
diff --git a/monetdb5/mal/mal_session.c b/monetdb5/mal/mal_session.c
--- a/monetdb5/mal/mal_session.c
+++ b/monetdb5/mal/mal_session.c
@@ -336,6 +336,7 @@ MSscheduleClient(str command, str challe
mnstr_printf(fout, "!could not allocate
space\n");
exit_streams(fin, fout);
GDKfree(command);
+ MCcloseClient(c);
return;
}
}
@@ -344,7 +345,10 @@ MSscheduleClient(str command, str challe
mnstr_printf(c->fdout, "!%s\n", s);
mnstr_flush(c->fdout, MNSTR_FLUSH_DATA);
GDKfree(s);
+ exit_streams(fin, fout);
+ GDKfree(command);
MCcloseClient(c);
+ return;
}
if (!GDKgetenv_isyes(mal_enableflag) &&
(strncasecmp("sql", lang, 3) != 0 && uid != 0))
{
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]