apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r563078 - /apr/apr-util/trunk/test/testreslist.c
Date Mon, 06 Aug 2007 09:49:58 GMT
Author: rpluem
Date: Mon Aug  6 02:49:57 2007
New Revision: 563078

URL: http://svn.apache.org/viewvc?view=rev&rev=563078
Log:
* Releasing a resource back to the list requires a pointer to the resource,
  not a pointer on the pointer to the resource.

Modified:
    apr/apr-util/trunk/test/testreslist.c

Modified: apr/apr-util/trunk/test/testreslist.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/testreslist.c?view=diff&rev=563078&r1=563077&r2=563078
==============================================================================
--- apr/apr-util/trunk/test/testreslist.c (original)
+++ apr/apr-util/trunk/test/testreslist.c Mon Aug  6 02:49:57 2007
@@ -147,7 +147,7 @@
      * will blow
      */
     for (i = 0; i < RESLIST_HMAX; i++) {
-        rv = apr_reslist_release(rl, &resources[i]);
+        rv = apr_reslist_release(rl, resources[i]);
         ABTS_INT_EQUAL(tc, rv, APR_SUCCESS);
     }
 }



Mime
View raw message