Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ev-file-helpers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ev-file-helpers.c b/lib/ev-file-helpers.c
index b093853..ae8aae5 100644
--- a/lib/ev-file-helpers.c
+++ b/lib/ev-file-helpers.c
@@ -80,8 +80,9 @@ ev_file_helpers_init (void)
void
ev_file_helpers_shutdown (void)
-{
- rmdir (tmp_dir);
+{
+ if (tmp_dir != NULL)
+ rmdir (tmp_dir);
g_free (tmp_dir);
g_free (dot_dir);