]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1775: cachemgr storedir segfault with cache_dir null
authorserassio <>
Sun, 8 Oct 2006 19:34:09 +0000 (19:34 +0000)
committerserassio <>
Sun, 8 Oct 2006 19:34:09 +0000 (19:34 +0000)
src/fs/null/store_null.cc

index c0d5d2d3179cbf590b6be1ad87e998ef94ad436a..dc088cfd1237227bad5e386e8c36712c917c7db7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_null.cc,v 1.11 2006/08/19 12:31:21 robertc Exp $
+ * $Id: store_null.cc,v 1.12 2006/10/08 13:34:09 serassio Exp $
  *
  * DEBUG: section 47    Store Directory Routines
  * AUTHOR: Duane Wessels
 #include "fs/null/store_null.h"
 
 static EVH storeNullDirRebuildComplete;
-NullSwapDir::NullSwapDir() : SwapDir ("null") {}
+NullSwapDir::NullSwapDir() : SwapDir ("null")
+{
+    repl = NULL;
+}
 
 void
 NullSwapDir::reconfigure(int index, char *path)