=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/client.c,v retrieving revision 1.118 retrieving revision 1.119 diff -c -r1.118 -r1.119 *** src/usr.bin/tmux/client.c 2017/01/20 14:02:33 1.118 --- src/usr.bin/tmux/client.c 2017/01/23 10:09:43 1.119 *************** *** 1,4 **** ! /* $OpenBSD: client.c,v 1.118 2017/01/20 14:02:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: client.c,v 1.119 2017/01/23 10:09:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 303,308 **** --- 303,310 ---- fatal("pledge failed"); /* Free stuff that is not used in the client. */ + if (ptm_fd != -1) + close(ptm_fd); options_free(global_options); options_free(global_s_options); options_free(global_w_options);