trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/3] trafficserver git commit: TS-3561 Destroy the mutex on cleanup
Date Tue, 28 Apr 2015 19:21:58 GMT
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 <zwoop@apache.org>
Authored: Tue Apr 28 10:34:46 2015 -0700
Committer: Leif Hedstrom <zwoop@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


Mime
View raw message