Added standards complaint malloc