diff options
author | Alan Hourihane <alanh@fairlite.co.uk> | 2011-12-01 12:04:22 +0000 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-05 20:34:12 -0800 |
commit | ff992be7b05483f9a0586a27ee0edb6d99580b84 (patch) | |
tree | 2beea8fe03848e12f43066bb30a55669853a3606 /Xtrans.c | |
parent | 29c9e101f7ad72556aa6b3dbc17d66a1ace9b2b1 (diff) |
Fix some resource & memory leaks in libxtrans.
Signed-off-by: Alan Hourihane <alanh@vmware.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtrans.c')
-rw-r--r-- | Xtrans.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |