Loading...
libkern/c++/OSCollectionIterator.cpp xnu-344.49 xnu-792.6.56
--- xnu/xnu-344.49/libkern/c++/OSCollectionIterator.cpp
+++ xnu/xnu-792.6.56/libkern/c++/OSCollectionIterator.cpp
@@ -2,8 +2,6 @@
  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -63,7 +61,7 @@
     OSCollectionIterator *me = new OSCollectionIterator;
 
     if (me && !me->initWithCollection(inColl)) {
-        me->free();
+        me->release();
         return 0;
     }