comparison svr-tcpfwd.c @ 478:d4f32c3443ac dbclient-netcat-alike

propagate from branch 'au.asn.ucc.matt.dropbear' (head f21045c791002d81fc6b8dde6537ea481e513eb2) to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 14 Sep 2008 06:47:51 +0000
parents b895f91c2ee6
children 52a644e7b8e1
comparison
equal deleted inserted replaced
296:6b41e2cbf071 478:d4f32c3443ac
214 214
215 out: 215 out:
216 if (ret == DROPBEAR_FAILURE) { 216 if (ret == DROPBEAR_FAILURE) {
217 /* we only free it if a listener wasn't created, since the listener 217 /* we only free it if a listener wasn't created, since the listener
218 * has to remember it if it's to be cancelled */ 218 * has to remember it if it's to be cancelled */
219 m_free(tcpinfo->listenaddr); 219 m_free(bindaddr);
220 m_free(tcpinfo); 220 m_free(tcpinfo);
221 } 221 }
222 TRACE(("leave remotetcpreq")) 222 TRACE(("leave remotetcpreq"))
223 return ret; 223 return ret;
224 } 224 }