diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 11:45:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 11:45:03 +0000 |
commit | 7000277f949a11b6176d3f97cb1bf154c52b1009 (patch) | |
tree | fc9f326946bc8ef9f07ea6c78ba565214556ff7a | |
parent | 5cb483680f608b49ab6068bce0d7b006af1dbbfd (diff) | |
download | rtmux-7000277f949a11b6176d3f97cb1bf154c52b1009.tar.gz rtmux-7000277f949a11b6176d3f97cb1bf154c52b1009.tar.bz2 rtmux-7000277f949a11b6176d3f97cb1bf154c52b1009.zip |
Don't try to upadte window after free.
-rw-r--r-- | server.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.3 2007-08-27 10:24:03 nicm Exp $ */ +/* $Id: server.c,v 1.4 2007-08-27 11:45:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -663,7 +663,8 @@ lost_window(struct window *w) if (session_has(c->session, w)) { if (session_detach(c->session, w) != 0) write_client(c, MSG_EXIT, NULL, 0); - changed_window(c); + else + changed_window(c); } } } |