malloctest also leaks, this should fix it.