Changeset: 61895fa979bb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=61895fa979bb
Modified Files:
monetdb5/mal/mal_function.c
Branch: Jan2014
Log Message:
Help coverity to check free action
diffs (18 lines):
diff --git a/monetdb5/mal/mal_function.c b/monetdb5/mal/mal_function.c
--- a/monetdb5/mal/mal_function.c
+++ b/monetdb5/mal/mal_function.c
@@ -1175,12 +1175,12 @@ showFlowGraph(MalBlkPtr mb, MalStkPtr st
oline = line;
}
free(buf);
- if (idcmp(fname, "stethoscope") != 0) {
+ if (stethoscope ) {
mnstr_close(f);
buffer_destroy(bufstr);
} else MT_sleep_ms(4000); /* delay for stethoscope */
} else if (f != GDKout) {
- if (idcmp(fname, "stethoscope") != 0)
+ if (stethoscope )
mnstr_close(f);
else MT_sleep_ms(4000); /* delay for stethoscope */
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list