Changeset: a0465582f430 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a0465582f430 Modified Files: monetdb5/mal/mal_dataflow.c Branch: Nov2019 Log Message:
Don;t try to free a constant string if you are out of memory. diffs (12 lines): diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c --- a/monetdb5/mal/mal_dataflow.c +++ b/monetdb5/mal/mal_dataflow.c @@ -415,7 +415,7 @@ DFLOWworker(void *T) void *null = NULL; /* only collect one error (from one thread, needed for stable testing) */ if (!ATOMIC_PTR_CAS(&flow->error, &null, error)) - GDKfree(error); + freeException(error); /* after an error we skip the rest of the block */ q_enqueue(flow->done, fe); continue; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list