Skip to content
Snippets Groups Projects
Commit 2b891f5e authored by Matt Johnston's avatar Matt Johnston
Browse files

listenaddr must be malloced

parent 01bde8ff
No related merge requests found
...@@ -199,7 +199,7 @@ static int svr_remotetcpreq() { ...@@ -199,7 +199,7 @@ static int svr_remotetcpreq() {
} }
else else
{ {
tcpinfo->listenaddr = request_addr; tcpinfo->listenaddr = m_strdup(request_addr);
} }
ret = listen_tcpfwd(tcpinfo); ret = listen_tcpfwd(tcpinfo);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment