MC: Fix malloc that was previously failing