projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gfio: patch around widget destroy crash
[fio.git]
/
gfio.c
diff --git
a/gfio.c
b/gfio.c
index 068f229e75ba252b5a011fd1e45cabccd2f4d6d7..cbedaa2d3d7aef5344830e2c127a2223b1f6cdc4 100644
(file)
--- a/
gfio.c
+++ b/
gfio.c
@@
-1683,7
+1683,11
@@
static void ge_widget_destroy(GtkWidget *w, gpointer data)
{
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)