Repository: trafficserver
Updated Branches:
  refs/heads/master ed429b9e4 -> 868efaf93


TS-4158: release mlocs correctly in esi pugin. This closes #441


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/868efaf9
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/868efaf9
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/868efaf9

Branch: refs/heads/master
Commit: 868efaf932bcf899b2dbc4a7aab78c39f2c3cc5b
Parents: ed429b9
Author: Kit Chan <[email protected]>
Authored: Tue Feb 2 08:22:53 2016 -0800
Committer: Kit Chan <[email protected]>
Committed: Tue Feb 2 08:22:53 2016 -0800

----------------------------------------------------------------------
 plugins/experimental/esi/esi.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/868efaf9/plugins/experimental/esi/esi.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/esi/esi.cc b/plugins/experimental/esi/esi.cc
index cd42e62..cdf729e 100644
--- a/plugins/experimental/esi/esi.cc
+++ b/plugins/experimental/esi/esi.cc
@@ -552,7 +552,7 @@ removeCacheKey(TSHttpTxn txnp)
   }
 
   TSHandleMLocRelease(req_bufp, req_hdr_loc, url_loc);
-  if (url_loc != NULL) {
+  if (req_hdr_loc != NULL) {
     TSHandleMLocRelease(req_bufp, TS_NULL_MLOC, req_hdr_loc);
   }
 

Reply via email to