aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component/e-summary-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'executive-summary/component/e-summary-util.c')
-rw-r--r--executive-summary/component/e-summary-util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/executive-summary/component/e-summary-util.c b/executive-summary/component/e-summary-util.c
index c19c829d57..3bd954ce12 100644
--- a/executive-summary/component/e-summary-util.c
+++ b/executive-summary/component/e-summary-util.c
@@ -102,6 +102,9 @@ e_summary_rm_dir (const char *path)
g_warning ("Opening: %s", path);
base = opendir (path);
+ if (base == NULL)
+ return;
+
contents = readdir (base);
while (contents != NULL) {
char *fullpath;