summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 522e543..6973ca5 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -549,6 +549,7 @@ TRANS(Reopen) (int type, int trans_id, int fd, char *port)
if (ciptr == NULL)
{
prmsg (1,"Reopen: transport open failed\n");
+ xfree(save_port);
return NULL;
}