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/13 11:19:30 UTC
svn commit: r565282 - /apr/apr-util/branches/1.2.x/test/testreslist.c
Author: rpluem
Date: Mon Aug 13 02:19:28 2007
New Revision: 565282
URL: http://svn.apache.org/viewvc?view=rev&rev=565282
Log:
Merge r563078 from trunk:
* Releasing a resource back to the list requires a pointer to the resource,
not a pointer on the pointer to the resource.
Submitted by: rpluem
Reviewed by: pluem
Modified:
apr/apr-util/branches/1.2.x/test/testreslist.c
Modified: apr/apr-util/branches/1.2.x/test/testreslist.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/test/testreslist.c?view=diff&rev=565282&r1=565281&r2=565282
==============================================================================
--- apr/apr-util/branches/1.2.x/test/testreslist.c (original)
+++ apr/apr-util/branches/1.2.x/test/testreslist.c Mon Aug 13 02:19:28 2007
@@ -177,7 +177,7 @@
* will blow
*/
for (i = 0; i < RESLIST_HMAX; i++) {
- rv = apr_reslist_release(rl, &resources[i]);
+ rv = apr_reslist_release(rl, resources[i]);
if (rv != APR_SUCCESS) {
fprintf(stderr, "couldn't release resource: %d\n", rv);
exit(1);