diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-30 18:27:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-30 18:27:14 +0000 |
commit | 80a594cae33ac195e37fcff9c383bf335388ef6a (patch) | |
tree | 7237c42cff5db98631d773a7a27cfe63744e7f38 /window.c | |
parent | 797f04b6488ff036a32a9321e81f0e5b4170f26a (diff) | |
download | rtmux-80a594cae33ac195e37fcff9c383bf335388ef6a.tar.gz rtmux-80a594cae33ac195e37fcff9c383bf335388ef6a.tar.bz2 rtmux-80a594cae33ac195e37fcff9c383bf335388ef6a.zip |
Document zombie window stuff.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.46 2008-06-29 07:04:31 nicm Exp $ */ +/* $Id: window.c,v 1.47 2008-06-30 18:27:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -287,6 +287,8 @@ window_destroy(struct window *w) buffer_destroy(w->in); buffer_destroy(w->out); + if (w->cmd != NULL) + xfree(w->cmd); xfree(w->name); xfree(w); } |