diff -r 2d4126d81ebb -r 167d9a91ef02 src/string.cpp --- a/src/string.cpp Wed Jan 10 18:44:52 2007 +0000 +++ b/src/string.cpp Wed Jan 10 18:56:51 2007 +0000 @@ -6,6 +6,7 @@ #include "string.h" #include "macros.h" #include "table/control_codes.h" +#include "helpers.hpp" #include #include // required for tolower() @@ -63,7 +64,7 @@ va_start(va, str); len = vsnprintf(buf, lengthof(buf), str, va); va_end(va); - p = malloc(len + 1); + MallocT(&p, len + 1); if (p != NULL) memcpy(p, buf, len + 1); return p; }