Crashes in memory allocator

The errors from valgrind seem to be related to this bug since it seems that FMalloc::Free is being called for something that used valgrind’s new.