You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/03/29 00:31:27 UTC

[05/13] git commit: TS-2675: metalink: add missing TSCacheKeyDestroy

TS-2675: metalink: add missing TSCacheKeyDestroy


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

Branch: refs/heads/master
Commit: 441c1c58169b8ada22392adbf3f2ba63046125d4
Parents: 3ba8288
Author: Jack Bates <ja...@nottheoilrig.com>
Authored: Thu Mar 13 11:28:58 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Fri Mar 28 16:23:54 2014 -0700

----------------------------------------------------------------------
 plugins/experimental/metalink/metalink.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/441c1c58/plugins/experimental/metalink/metalink.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/metalink/metalink.cc b/plugins/experimental/metalink/metalink.cc
index be48601..238bbee 100644
--- a/plugins/experimental/metalink/metalink.cc
+++ b/plugins/experimental/metalink/metalink.cc
@@ -345,6 +345,7 @@ transform_vconn_write_complete(TSCont contp, void * /* edata ATS_UNUSED */)
   if (TSCacheKeyDigestSet(data->key, digest, sizeof(digest)) != TS_SUCCESS) {
     TSContDestroy(contp);
 
+    TSCacheKeyDestroy(data->key);
     TSfree(data);
 
     return 0;