]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/dest.c
Merge changes from CUPS 1.5svn-r9198.
[thirdparty/cups.git] / cups / dest.c
index 191ec7b84fe6e445806f13937cd3607e1fed14f4..98cba04d393abc883cbeec2a09772c90515b582a 100644 (file)
@@ -1211,7 +1211,8 @@ appleSetDefault(const char *name) /* I - Default printer/class name */
         CFArrayRemoveValueAtIndex(newlocations, locindex);
     }
     else
-      newlocations = CFArrayCreateMutable(kCFAllocatorDefault, 0, NULL);
+      newlocations = CFArrayCreateMutable(kCFAllocatorDefault, 0,
+                                         &kCFTypeArrayCallBacks);
 
     newlocation = CFDictionaryCreateMutable(kCFAllocatorDefault, 0,
                                            &kCFTypeDictionaryKeyCallBacks,