]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Don't double free refcounted object on store swapout failures.
authorrobertc <>
Sat, 6 Sep 2003 18:59:04 +0000 (18:59 +0000)
committerrobertc <>
Sat, 6 Sep 2003 18:59:04 +0000 (18:59 +0000)
Keywords:

Don't double free refcounted object on store swapout failures.

src/store_swapout.cc

index 0b6626783d78292d2120459e4753b4f16153539c..0b19b8c889f1cf5dce73e91492120b4bc4a643cd 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_swapout.cc,v 1.96 2003/07/11 04:02:01 robertc Exp $
+ * $Id: store_swapout.cc,v 1.97 2003/09/06 12:59:04 robertc Exp $
  *
  * DEBUG: section 20    Storage Manager Swapout Functions
  * AUTHOR: Duane Wessels
@@ -68,7 +68,6 @@ storeSwapOutStart(StoreEntry * e)
 
     if (NULL == sio.getRaw()) {
         e->swap_status = SWAPOUT_NONE;
-        cbdataFree(c);
         storeLog(STORE_LOG_SWAPOUTFAIL, e);
         return;
     }