malloc size of type, not size of the pointer