commit | 425f25d0a25bd209f1cdfe5c3a26d16f0316d4b3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Mar 14 19:39:02 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 14 19:39:02 2012 +0100 |
tree | efe40d19a3ccf0bb8c6c511cc32d3cdda123c318 | |
parent | 731e30a2551315c609c23ac107377b63c02d51fa [diff] |
gfio: patch around widget destroy crash Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gfio.c b/gfio.c index 068f229..cbedaa2 100644 --- a/gfio.c +++ b/gfio.c
@@ -1683,7 +1683,11 @@ { struct gui_entry *ge = data; - ge_destroy(ge); + /* + * Why are we getting NULL data here sometimes? + */ + if (ge) + ge_destroy(ge); } static void gfio_quit(struct gui *ui)