]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add MemBuf to MemPools. This would have made it easier to find
authorwessels <>
Sat, 17 Sep 2005 11:05:08 +0000 (11:05 +0000)
committerwessels <>
Sat, 17 Sep 2005 11:05:08 +0000 (11:05 +0000)
recent leak.

src/MemBuf.cc
src/MemBuf.h

index a7556e05b9e6cceb6e07ab5275e2083d6b14eb99..5358047b32b371adddd9d55194e0327703981057 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: MemBuf.cc,v 1.39 2005/09/17 04:53:44 wessels Exp $
+ * $Id: MemBuf.cc,v 1.40 2005/09/17 05:05:08 wessels Exp $
  *
  * DEBUG: section 59    auto-growing Memory Buffer with printf
  * AUTHOR: Alex Rousskov
 /* local routines */
 static void memBufGrow(MemBuf * mb, mb_size_t min_cap);
 
+CBDATA_CLASS_INIT(MemBuf);
 
 /* init with defaults */
 void
index 36a5578a979f3b25b732b2f7edb621857e6c54c7..b1bdcf8350957daf30f084ac13f6d63699d7df0f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: MemBuf.h,v 1.3 2005/08/31 19:15:35 wessels Exp $
+ * $Id: MemBuf.h,v 1.4 2005/09/17 05:05:08 wessels Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -79,6 +79,8 @@ private:
 
     MemBuf& operator= (const MemBuf& m) {assert(false); return *this;};
 
+    CBDATA_CLASS2(MemBuf);
+
 public:
     /* public, read-only, depricated in favor of space*() and content*() */
     // XXX: hide these members completely and remove 0-termination