]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Changed _SQUID_MSWIN_ to _SQUID_WINDOWS_ everywhere.\nFixed MemPools interface in...
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 28 Jan 2012 16:54:54 +0000 (17:54 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 28 Jan 2012 16:54:54 +0000 (17:54 +0100)
src/DiskIO/DiskThreads/aiops_win32.cc

index 6d21ef84c3d665579768b1a2090014b59bc1647e..43b3402c555c77137e45f8ce60e6f993c35601fd 100644 (file)
@@ -211,7 +211,7 @@ squidaio_xfree(void *p, int size)
     MemAllocator *pool;
 
     if ((pool = squidaio_get_pool(size)) != NULL) {
-        pool->free(p);
+        pool->freeOne(p);
     } else
         xfree(p);
 }
@@ -223,7 +223,7 @@ squidaio_xstrfree(char *str)
     int len = strlen(str) + 1;
 
     if ((pool = squidaio_get_pool(len)) != NULL) {
-        pool->free(str);
+        pool->freeOne(str);
     } else
         xfree(str);
 }
@@ -717,7 +717,7 @@ squidaio_cleanup_request(squidaio_request_t * requestp)
         resultp->aio_errno = requestp->err;
     }
 
-    squidaio_request_pool->free(requestp);
+    squidaio_request_pool->freeOne(requestp);
 }                              /* squidaio_cleanup_request */