]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/c++/OSArray.cpp
xnu-1456.1.26.tar.gz
[apple/xnu.git] / libkern / c++ / OSArray.cpp
index c1b7ff66c93f8773cc3bbef097dc208762d9329d..92370e81f006819d44facc5c04e3c75fd3eb52f9 100644 (file)
@@ -218,8 +218,9 @@ void OSArray::flushCollection()
     unsigned int i;
 
     haveUpdated();
-    for (i = 0; i < count; i++)
+    for (i = 0; i < count; i++) {
         array[i]->taggedRelease(OSTypeID(OSCollection));
+    }
     count = 0;
 }