]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #619: Segfault in aufs on shutdown
authorhno <>
Sun, 11 May 2003 16:00:41 +0000 (16:00 +0000)
committerhno <>
Sun, 11 May 2003 16:00:41 +0000 (16:00 +0000)
the aufs_q[read|write]_pool is no longer used, but there still was references
to the unused (and never created) pools on shutdown.

src/fs/aufs/store_dir_aufs.cc

index 95068391a26690a8909ff869df9ff1a181ccccb5..a837c043cd43540c8dc0119b813b235ba01e1995 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_dir_aufs.cc,v 1.55 2003/02/21 22:50:29 robertc Exp $
+ * $Id: store_dir_aufs.cc,v 1.56 2003/05/11 10:00:41 hno Exp $
  *
  * DEBUG: section 47    Store Directory Routines
  * AUTHOR: Duane Wessels
@@ -40,8 +40,6 @@
 #include "ufscommon.h"
 #include "SwapDir.h"
 
-MemPool *aufs_qread_pool = NULL;
-MemPool *aufs_qwrite_pool = NULL;
 static int asyncufs_initialised = 0;
 
 /* The MAIN externally visible function */
@@ -143,8 +141,6 @@ static void
 storeAufsDirDone(void)
 {
     aioDone();
-    memPoolDestroy(&aufs_qread_pool);
-    memPoolDestroy(&aufs_qwrite_pool);
     asyncufs_initialised = 0;
 }