Fixed memory allocation thingy.