You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/04/28 21:21:58 UTC

[2/3] trafficserver git commit: TS-3561 Destroy the mutex on cleanup

TS-3561 Destroy the mutex on cleanup


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

Branch: refs/heads/master
Commit: 74f55883d6b3c30c6a90dd84a41b34ced147babc
Parents: 4dd6986
Author: Leif Hedstrom <zw...@apache.org>
Authored: Tue Apr 28 10:34:46 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Tue Apr 28 10:34:46 2015 -0700

----------------------------------------------------------------------
 plugins/experimental/cache_promote/cache_promote.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/74f55883/plugins/experimental/cache_promote/cache_promote.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/cache_promote/cache_promote.cc b/plugins/experimental/cache_promote/cache_promote.cc
index d3820b9..866b01a 100644
--- a/plugins/experimental/cache_promote/cache_promote.cc
+++ b/plugins/experimental/cache_promote/cache_promote.cc
@@ -209,8 +209,7 @@ public:
     _freelist.clear();
 
     TSMutexUnlock(_lock);
-
-    // ToDo: Destroy mutex ? TS-1432
+    TSMutexDestroy(_lock);
   }
 
   bool