Protect malloc