trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-3877: Add a tracking ClassAllocator to keep track of where the allocation happened Fixed a build issue
Date Thu, 03 Sep 2015 18:19:30 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 0315f6db4 -> 208e5385a


TS-3877: Add a tracking ClassAllocator to keep track of where the allocation happened
Fixed a build issue


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

Branch: refs/heads/master
Commit: 208e5385a944d6386a2f66d0998ff3a81a954639
Parents: 0315f6d
Author: Bryan Call <bcall@apache.org>
Authored: Thu Sep 3 11:18:55 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Thu Sep 3 11:19:16 2015 -0700

----------------------------------------------------------------------
 lib/ts/ink_resource.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/208e5385/lib/ts/ink_resource.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_resource.cc b/lib/ts/ink_resource.cc
index 59d23b5..4285671 100644
--- a/lib/ts/ink_resource.cc
+++ b/lib/ts/ink_resource.cc
@@ -37,7 +37,7 @@ ink_mutex ResourceTracker::resourceLock = PTHREAD_MUTEX_INITIALIZER;
 class Resource
 {
 public:
-  Resource() : _incrementCount(0), _decrementCount(0), _value(0), _symbol(NULL), _name("")
{}
+  Resource() : _incrementCount(0), _decrementCount(0), _value(0), _symbol(NULL) { _name[0]
= '\0'; }
   void increment(const int64_t size);
   int64_t
   getValue() const


Mime
View raw message