Changeset: 2c8080e4e0bb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2c8080e4e0bb
Modified Files:
MonetDB5/src/mal/mal_instruction.mx
Branch: Oct2010
Log Message:
Replace GDKmalloc + memset with GSKzalloc.
diffs (13 lines):
diff -r 745e883c84c2 -r 2c8080e4e0bb MonetDB5/src/mal/mal_instruction.mx
--- a/MonetDB5/src/mal/mal_instruction.mx Mon Sep 06 14:16:56 2010 +0200
+++ b/MonetDB5/src/mal/mal_instruction.mx Mon Sep 06 14:17:41 2010 +0200
@@ -1659,8 +1659,7 @@
InstrPtr q;
int actions;
- vars= (int *) GDKmalloc(mb->vtop * sizeof(int));
- memset((char*) vars, 0, mb->vtop * sizeof(int));
+ vars= (int *) GDKzalloc(mb->vtop * sizeof(int));
/* build the alias table */
for (i = 0; i < mb->vtop; i++) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list