diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 11:41:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 11:41:00 +0000 |
commit | 5cb483680f608b49ab6068bce0d7b006af1dbbfd (patch) | |
tree | ad4cfd13d40d321f92f5e286f8e4bac3cdb27489 /window.c | |
parent | 565ba002e90dab150654a141bc305ca4f62776e2 (diff) |
Use after free.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.3 2007-08-27 10:08:44 nicm Exp $ */ +/* $Id: window.c,v 1.4 2007-08-27 11:41:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -162,8 +162,8 @@ window_remove(struct windows *ww, struct window *w) w->references--; if (w->references == 0) { - window_destroy(w); window_remove(&windows, w); + window_destroy(w); } } |