From c67fc5693a8e4f88e83499a7fc7316c7ad5095ef Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Tue, 15 Mar 2016 23:03:59 +0800
Subject: [PATCH] m_close() rather than close()

---
 svr-x11fwd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/svr-x11fwd.c b/svr-x11fwd.c
index 2af41411..cf213e8d 100644
--- a/svr-x11fwd.c
+++ b/svr-x11fwd.c
@@ -119,7 +119,7 @@ fail:
 	/* cleanup */
 	m_free(chansess->x11authprot);
 	m_free(chansess->x11authcookie);
-	close(fd);
+	m_close(fd);
 
 	return DROPBEAR_FAILURE;
 }
-- 
GitLab