Freeing memory in SimpleAllocator