]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Fix bug 529 (I think).
authorrobertc <>
Wed, 5 Feb 2003 08:42:20 +0000 (08:42 +0000)
committerrobertc <>
Wed, 5 Feb 2003 08:42:20 +0000 (08:42 +0000)
Keywords:

Fix bug 529 (I think).

src/client_side_request.cc

index 27dd264c7fa673b28e978d2860e40248240c859f..eda6bc23e79f242dd2767f62bce9e3e6878ec988 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_request.cc,v 1.11 2003/01/28 06:18:13 robertc Exp $
+ * $Id: client_side_request.cc,v 1.12 2003/02/05 01:42:20 robertc Exp $
  * 
  * DEBUG: section 85    Client-side Request Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -703,11 +703,13 @@ ClientRequestContext::checkNoCacheDone(int answer)
 {    
     acl_checklist = NULL;
     clientHttpRequest *http_ = http;
-    deleteSelf();
 
-    if (!cbdataReferenceValid (http_))
+    if (!cbdataReferenceValid (http_)) {
+       deleteSelf();
        return;
+    }
     
+    deleteSelf();
     http_->request->flags.cachable = answer;
     http_->processRequest();
 }