cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1551f8b8573cb6c1265fe52b973b5e6eb7799d1e

commit 1551f8b8573cb6c1265fe52b973b5e6eb7799d1e
Author: Cedric BAIL <[email protected]>
Date:   Thu Oct 5 16:24:47 2017 -0700

    efl: properly initialize Eina_File.
    
    CID 1381605.
---
 src/lib/efl/interfaces/efl_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/efl/interfaces/efl_file.c 
b/src/lib/efl/interfaces/efl_file.c
index 116e49d5b0..562a06b059 100644
--- a/src/lib/efl/interfaces/efl_file.c
+++ b/src/lib/efl/interfaces/efl_file.c
@@ -15,7 +15,7 @@ struct _Efl_File_Data
 static Eina_Bool
 _efl_file_file_set(Eo *obj, Efl_File_Data *pd, const char *file, const char 
*key)
 {
-   Eina_File *f;
+   Eina_File *f = NULL;
    Eina_Bool r = EINA_FALSE;
 
    pd->error = EFL_IMAGE_LOAD_ERROR_DOES_NOT_EXIST;

-- 


Reply via email to