From ab3f65a15e1b6fe5bdf488e6e879899e283ccc43 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 30 Nov 2012 15:29:34 +0100 Subject: Address couple issues found by a Coverity scan --- e-util/e-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-config.c') diff --git a/e-util/e-config.c b/e-util/e-config.c index 7a5aff07e1..fc30eea90e 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -1054,7 +1054,7 @@ ec_rebuild (EConfig *emp) case E_CONFIG_ITEM: case E_CONFIG_ITEM_TABLE: /* generated sections never retain their widgets on a rebuild */ - if (sectionnode->item->factory == NULL) + if (sectionnode && sectionnode->item->factory == NULL) wn->widget = NULL; /* ITEMs are called with the section parent. -- cgit