]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/c++/OSOrderedSet.cpp
xnu-517.tar.gz
[apple/xnu.git] / libkern / c++ / OSOrderedSet.cpp
index b8a01f3524abdec45304a89c4b5e6479eb5485c7..f90e68322b3123d926d45ff16f74728798b97a93 100644 (file)
@@ -86,7 +86,7 @@ withCapacity(unsigned int capacity,
     OSOrderedSet *me = new OSOrderedSet;
 
     if (me && !me->initWithCapacity(capacity, ordering, orderingRef)) {
-        me->free();
+        me->release();
        me = 0;
     }