apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r565282 - /apr/apr-util/branches/1.2.x/test/testreslist.c
Date Mon, 13 Aug 2007 09:19:30 GMT
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);



Mime
View raw message