Changeset: 2d989f48b08c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2d989f48b08c
Modified Files:
monetdb5/mal/mal_builder.c
Branch: jit
Log Message:
Dont free a pushed instruction
diffs (16 lines):
diff --git a/monetdb5/mal/mal_builder.c b/monetdb5/mal/mal_builder.c
--- a/monetdb5/mal/mal_builder.c
+++ b/monetdb5/mal/mal_builder.c
@@ -110,11 +110,11 @@ newComment(MalBlkPtr mb, const char *val
getArg(q,0) = defConstant(mb,TYPE_str,&cst);
clrVarConstant(mb,getArg(q,0));
setVarDisabled(mb,getArg(q,0));
- pushInstruction(mb, q);
if (mb->errors) {
freeInstruction(q);
return NULL;
}
+ pushInstruction(mb, q);
return q;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list