memory alloc: variable and function name bike shedding
memory alloc: fix allocation size

Was allocating multiple of (long int *), rather than multiple
of (long int).