summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/efreet/efreet_mime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_mime.c b/src/lib/efreet/efreet_mime.c
index 4426b6a130..6cb331b43b 100644
--- a/src/lib/efreet/efreet_mime.c
+++ b/src/lib/efreet/efreet_mime.c
@@ -454,6 +454,7 @@ efreet_mime_type_get(const char *file)
454 const char *type = NULL; 454 const char *type = NULL;
455 455
456 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL); 456 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL);
457 if (!mimedb_ptr) return NULL;
457 458
458 if ((type = efreet_mime_special_check(file))) 459 if ((type = efreet_mime_special_check(file)))
459 return type; 460 return type;
@@ -586,6 +587,7 @@ efreet_mime_globs_type_get(const char *file)
586 unsigned int i, n; 587 unsigned int i, n;
587 588
588 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL); 589 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL);
590 if (!mimedb_ptr) return NULL;
589 591
590 /* Check in the extension hash for the type */ 592 /* Check in the extension hash for the type */
591 ext = strchr(file, '.'); 593 ext = strchr(file, '.');