diff 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
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;
 }