]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Marked one spot where newly allocated Store::get*() entries are forgotten and
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 22 Jun 2013 15:01:40 +0000 (09:01 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sat, 22 Jun 2013 15:01:40 +0000 (09:01 -0600)
probably leaking.

src/client_side_reply.cc

index 2bf9a174375dd966c76b90c97d4fa52b2b7e7793..e56d5e9f908a89849cc6187ef6625999dceb293a 100644 (file)
@@ -872,7 +872,7 @@ clientReplyContext::purgeFoundObject(StoreEntry *entry)
         ErrorState *err = clientBuildError(ERR_ACCESS_DENIED, Http::scForbidden, NULL,
                                            http->getConn()->clientConnection->remote, http->request);
         startError(err);
-        return;
+        return; // XXX: leaking unused entry is some store does not keep it
     }
 
     StoreIOBuffer localTempBuffer;