Strip an unneeded malloc call