comparison svr-x11fwd.c @ 1259:3a383aaeb487

m_close() rather than close()
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:03:59 +0800
parents 428d83f2e5db
children 750ec4ec4cbe
comparison
equal deleted inserted replaced
1258:854f39ff5105 1259:3a383aaeb487
117 117
118 fail: 118 fail:
119 /* cleanup */ 119 /* cleanup */
120 m_free(chansess->x11authprot); 120 m_free(chansess->x11authprot);
121 m_free(chansess->x11authcookie); 121 m_free(chansess->x11authcookie);
122 close(fd); 122 m_close(fd);
123 123
124 return DROPBEAR_FAILURE; 124 return DROPBEAR_FAILURE;
125 } 125 }
126 126
127 /* accepts a new X11 socket */ 127 /* accepts a new X11 socket */