summaryrefslogtreecommitdiffhomepage
path: root/svr-x11fwd.c
diff options
context:
space:
mode:
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;
}