Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-12-03 13:12:29 -0500
committerEugene Tarassov2013-12-03 13:12:29 -0500
commit8015dc9b2735340a58549a0a895bc369d24dcca1 (patch)
tree35f719d3c71a8ed7c3f7f4e3eea399abc5e90ea6
parent40e3a1e8d769ccc4e670cacafa82d5a3b69c8b6a (diff)
downloadorg.eclipse.tcf.agent-8015dc9b2735340a58549a0a895bc369d24dcca1.tar.gz
org.eclipse.tcf.agent-8015dc9b2735340a58549a0a895bc369d24dcca1.tar.xz
org.eclipse.tcf.agent-8015dc9b2735340a58549a0a895bc369d24dcca1.zip
Bug 423033 - Crash during loc_free of peer server
-rw-r--r--agent/tcf/framework/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/framework/channel.c b/agent/tcf/framework/channel.c
index 8d2d60d2..90b5b5b7 100644
--- a/agent/tcf/framework/channel.c
+++ b/agent/tcf/framework/channel.c
@@ -305,7 +305,7 @@ ChannelServer * channel_server(PeerServer * ps) {
if (transportname == NULL) {
transportname = "TCP";
- peer_server_addprop(ps, "TransportName", transportname);
+ peer_server_addprop(ps, loc_strdup("TransportName"), loc_strdup(transportname));
}
if (strcmp(transportname, "TCP") == 0 || strcmp(transportname, "SSL") == 0) {

Back to the top