You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rp...@apache.org on 2007/08/06 11:49:58 UTC
svn commit: r563078 - /apr/apr-util/trunk/test/testreslist.c
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);
}
}