Replaced xmalloc calls with malloc/HeapAlloc calls.

3 files changed