]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libobjc/sarray.c
[multiple changes]
[thirdparty/gcc.git] / libobjc / sarray.c
index c37633ba33e73d6ae5234a0594eba6e55b533897..e7e69a9e8ce4dc40d74bbe7ec49bbe307a35c19a 100644 (file)
@@ -1,5 +1,5 @@
 /* Sparse Arrays for Objective C dispatch tables
-   Copyright (C) 1993, 1995, 1996, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 2002, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -459,7 +459,9 @@ sarray_free (struct sarray *array) {
 
 #endif
   
-  /* If this is a copy, go ahead and decrement/deallocate the original */
+  /* If this is a copy of another array, we free it (which might just
+   * decrement its reference count so it will be freed when no longer in use).
+   */
   if (array->is_copy_of)
     sarray_free (array->is_copy_of);