Bug fix to memory allocation.