Make a logwarning when ResizeMemory() resized to null ptr