changeset 1259:3a383aaeb487

m_close() rather than close()
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:03:59 +0800
parents 854f39ff5105
children c8f52c19e949
files svr-x11fwd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }