Check for null return

SVN revision: 50808
This commit is contained in:
Sebastian Dransfeld 2010-08-04 12:33:48 +00:00
parent 2ccf1a156d
commit 0a3f53c3b1
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@
static int _efreet_ini_log_dom = -1;
static Eina_Hash *efreet_ini_parse(const char *file);
static const char *efreet_ini_unescape(const char *str);
static const char *efreet_ini_unescape(const char *str) EINA_ARG_NONNULL(1);
static Eina_Bool
efreet_ini_section_save(const Eina_Hash *hash, const void *key, void *data, void *fdata);
static Eina_Bool
@ -624,7 +624,6 @@ efreet_ini_unescape(const char *str)
char *buf, *dest;
const char *p;
if (!str) return NULL;
if (!strchr(str, '\\')) return eina_stringshare_add(str);
buf = alloca(strlen(str) + 1);