# HG changeset patch # User Matt Johnston # Date 1458054239 -28800 # Node ID 3a383aaeb487fd052b42e181a62f7a65ee639b81 # Parent 854f39ff510589eee0e821352f4db3e4e7844807 m_close() rather than close() diff -r 854f39ff5105 -r 3a383aaeb487 svr-x11fwd.c --- a/svr-x11fwd.c Tue Mar 15 23:03:43 2016 +0800 +++ b/svr-x11fwd.c Tue Mar 15 23:03:59 2016 +0800 @@ -119,7 +119,7 @@ /* cleanup */ m_free(chansess->x11authprot); m_free(chansess->x11authcookie); - close(fd); + m_close(fd); return DROPBEAR_FAILURE; }