You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2014/07/15 21:37:53 UTC
[6/6] git commit: TS-1475: Coverity 1021651 - fix double free.
TS-1475: Coverity 1021651 - fix double free.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/59821c73
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/59821c73
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/59821c73
Branch: refs/heads/master
Commit: 59821c73eb031114267976c9904af25b1ca08691
Parents: df3dbd8
Author: Jeff Elsloo <je...@cable.comcast.com>
Authored: Tue Jul 15 10:45:32 2014 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Tue Jul 15 13:37:15 2014 -0600
----------------------------------------------------------------------
mgmt/api/APITestCliRemote.cc | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/59821c73/mgmt/api/APITestCliRemote.cc
----------------------------------------------------------------------
diff --git a/mgmt/api/APITestCliRemote.cc b/mgmt/api/APITestCliRemote.cc
index 29ec45e..eda6785 100644
--- a/mgmt/api/APITestCliRemote.cc
+++ b/mgmt/api/APITestCliRemote.cc
@@ -1094,6 +1094,7 @@ test_records()
else
printf("[TSRecordGetString] proxy.config.proxy_name=%s\n", rec_value);
TSfree(rec_value);
+ rec_value = NULL;
// test RecordSet
err = TSRecordSetString("proxy.config.proxy_name", (TSString) new_str, &action);