From 3a1efb5d49c968e4d62dc07b10b53e3d88ad9087 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 3 Oct 2013 11:55:35 +0100 Subject: [PATCH] Don't crash if config file doesn't exist. This fixes T425. Thanks to Scimmia for reporting. --- src/bin/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/cfg.c b/src/bin/cfg.c index 648edca..d8b3fa9 100644 --- a/src/bin/cfg.c +++ b/src/bin/cfg.c @@ -86,7 +86,7 @@ ecrire_cfg_load(void) Eet_File *ef; if (!config_file) - return EINA_FALSE; + goto end; ef = eet_open(config_file, EET_FILE_MODE_READ); if (!ef)