Changeset: 93bc301c52e4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=93bc301c52e4
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: Feb2013
Log Message:
Free the correct value.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -169,7 +169,7 @@ TABLETadt_toStr(void *extra, char **buf,
}
l = (int) strlen(src);
if (l + 3 > *len) {
- GDKfree(buf);
+ GDKfree(*buf);
*len = 2 * l + 3;
*buf = GDKzalloc(*len);
}
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list