comparison svr-tcpfwd.c @ 1344:b90da477ab63 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 May 2017 23:02:39 +0800
parents 8747c2b19152
children 58a74cb829b8
comparison
equal deleted inserted replaced
1318:10e2a7727253 1344:b90da477ab63
197 /* NULL means "localhost only" */ 197 /* NULL means "localhost only" */
198 tcpinfo->listenaddr = NULL; 198 tcpinfo->listenaddr = NULL;
199 } 199 }
200 else 200 else
201 { 201 {
202 tcpinfo->listenaddr = request_addr; 202 tcpinfo->listenaddr = m_strdup(request_addr);
203 } 203 }
204 204
205 ret = listen_tcpfwd(tcpinfo); 205 ret = listen_tcpfwd(tcpinfo);
206 206
207 out: 207 out: