trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [11/34] git commit: TS-2180 Small memory leak in RecCore.cc, from previous refactoring
Date Wed, 05 Feb 2014 00:30:18 GMT
TS-2180 Small memory leak in RecCore.cc, from previous refactoring


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

Branch: refs/heads/5.0.x
Commit: 4c935d48e7a1c9d496225e4a1fd6cc2f5b2610e7
Parents: d081cdf
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Fri Jan 31 14:41:52 2014 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Fri Jan 31 14:42:19 2014 -0700

----------------------------------------------------------------------
 CHANGES                | 2 ++
 lib/records/RecCore.cc | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4c935d48/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 9593111..97866db 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.0
 
+  *) [TS-2180] Small memory leak in RecCore.cc, from previous refactoring.
+
   *) [TS-2534] Make sure RecRecord structs are always properly initialized.
 
   *) [TS-2483] Add a new metric, proxy.node.restarts.proxy.cache_ready_time,

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4c935d48/lib/records/RecCore.cc
----------------------------------------------------------------------
diff --git a/lib/records/RecCore.cc b/lib/records/RecCore.cc
index bcfe6c6..dded7cb 100644
--- a/lib/records/RecCore.cc
+++ b/lib/records/RecCore.cc
@@ -184,8 +184,6 @@ RecCoreInit(RecModeT mode_type, Diags *_diags)
   // read configs
   if ((mode_type == RECM_SERVER) || (mode_type == RECM_STAND_ALONE)) {
     ink_mutex_init(&g_rec_config_lock, NULL);
-    g_rec_config_contents_llq = create_queue();
-    g_rec_config_contents_ht = ink_hash_table_create(InkHashTableKeyType_String);
     // Import the file into memory; try the following in this order:
     // ./etc/trafficserver/records.config.shadow
     // ./records.config.shadow


Mime
View raw message