[PATCH] wer: Use CRT memory allocation functions.