Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2019-04-19 16:39:36 -0400
committerEugene Tarassov2019-04-19 16:39:36 -0400
commitac05a5bafd683b7ca2174b81f7395a35b82a191d (patch)
treef63a5f7b917f08fdb9f72c2fd56362f430f13451
parentdad3a6f5683ff63614f33e9c421e4eceb255a4b0 (diff)
downloadorg.eclipse.tcf.agent-ac05a5bafd683b7ca2174b81f7395a35b82a191d.tar.gz
org.eclipse.tcf.agent-ac05a5bafd683b7ca2174b81f7395a35b82a191d.tar.xz
org.eclipse.tcf.agent-ac05a5bafd683b7ca2174b81f7395a35b82a191d.zip
TCF Agent: fixed segfault in TCF over HTTP protocol handler
-rw-r--r--agent/tcf/http/http-tcf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/tcf/http/http-tcf.c b/agent/tcf/http/http-tcf.c
index e97efa14..1c6c236c 100644
--- a/agent/tcf/http/http-tcf.c
+++ b/agent/tcf/http/http-tcf.c
@@ -243,6 +243,7 @@ static void http_channel_unlock(Channel * channel) {
list_remove(&e->link);
free_message(e);
}
+ cancel_event(sse_event, cd, 0);
loc_free(channel->peer_name);
loc_free(cd->out_buf.mem);
loc_free(cd->cmd_data);

Back to the top