]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove duplicate cbdataReferenceValid() check
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Sep 2015 13:02:39 +0000 (06:02 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Sep 2015 13:02:39 +0000 (06:02 -0700)
src/auth/UserNameCache.cc

index 8fde52f702dfe4d3acd7c3085c2743a5e9063701..cc8f8730c8f226145d97ce09b7d17952d9ffc0d9 100644 (file)
@@ -44,8 +44,6 @@ void
 UserNameCache::Cleanup(void *data)
 {
     debugs(29, 5, "checkpoint");
-    if (!cbdataReferenceValid(data))
-        return;
     // data is this in disguise
     UserNameCache *self = static_cast<UserNameCache *>(data);
     // cache entries with expiretime <= expirationTime are to be evicted