diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/stats_tree_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/stats_tree_stat.c b/gtk/stats_tree_stat.c index 8840208701..51ba3b9476 100644 --- a/gtk/stats_tree_stat.c +++ b/gtk/stats_tree_stat.c @@ -253,7 +253,7 @@ static void init_gtk_tree(const char* optarg, void *userdata _U_) { if (abbr) { cfg = stats_tree_get_cfg_by_abbr(abbr); - if (cfg->in_use) { + if (cfg && cfg->in_use) { /* XXX: ! */ report_failure("cannot open more than one tree of the same type at once"); return; |