CFArrayRemoveValueAtIndex(newlocations, locindex);
}
else
- newlocations = CFArrayCreateMutable(kCFAllocatorDefault, 0, NULL);
+ newlocations = CFArrayCreateMutable(kCFAllocatorDefault, 0,
+ &kCFTypeArrayCallBacks);
newlocation = CFDictionaryCreateMutable(kCFAllocatorDefault, 0,
&kCFTypeDictionaryKeyCallBacks,