summaryrefslogtreecommitdiffhomepage
path: root/svr-x11fwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 23:03:59 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 23:03:59 +0800
commitc67fc5693a8e4f88e83499a7fc7316c7ad5095ef (patch)
tree00b6400aff69d2e1791bb3546d1adb4e7e974380 /svr-x11fwd.c
parent6b5c6af613964f5c230225e9467adbe081e8ae83 (diff)
m_close() rather than close()
Diffstat (limited to 'svr-x11fwd.c')
-rw-r--r--svr-x11fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-x11fwd.c b/svr-x11fwd.c
index 2af4141..cf213e8 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;
}