--------------------- PatchSet 11234 Date: 2007/02/03 23:26:46 Author: hno Branch: SQUID_2_6 Tag: (none) Log: MFC: Release objects on swapin failure Members: src/store_swapin.c:1.33->1.33.2.1 Index: squid/src/store_swapin.c =================================================================== RCS file: /cvsroot/squid/squid/src/store_swapin.c,v retrieving revision 1.33 retrieving revision 1.33.2.1 diff -u -r1.33 -r1.33.2.1 --- squid/src/store_swapin.c 6 Jun 2006 16:37:24 -0000 1.33 +++ squid/src/store_swapin.c 3 Feb 2007 23:26:46 -0000 1.33.2.1 @@ -1,6 +1,6 @@ /* - * $Id: store_swapin.c,v 1.33 2006/06/06 16:37:24 hno Exp $ + * $Id: store_swapin.c,v 1.33.2.1 2007/02/03 23:26:46 hno Exp $ * * DEBUG: section 20 Storage Manager Swapin Functions * AUTHOR: Duane Wessels @@ -75,6 +75,8 @@ sio, errflag); cbdataUnlock(sio); sc->swapin_sio = NULL; + if (errflag < 0) + storeRelease(sc->entry); if ((callback = sc->callback)) { void *cbdata = sc->callback_data; assert(errflag <= 0);