From: hno <> Date: Sun, 11 May 2003 16:00:41 +0000 (+0000) Subject: Bug #619: Segfault in aufs on shutdown X-Git-Tag: SQUID_3_0_PRE1~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17e0eee34fdabd2027985fc260b5e4861d167e56;p=thirdparty%2Fsquid.git Bug #619: Segfault in aufs on shutdown the aufs_q[read|write]_pool is no longer used, but there still was references to the unused (and never created) pools on shutdown. --- diff --git a/src/fs/aufs/store_dir_aufs.cc b/src/fs/aufs/store_dir_aufs.cc index 95068391a2..a837c043cd 100644 --- a/src/fs/aufs/store_dir_aufs.cc +++ b/src/fs/aufs/store_dir_aufs.cc @@ -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; }