summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:04:38 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:04:38 +0900
commitf9cef6f079a747f56656f7191230f9b9e97fc8aa (patch)
tree8c03b91c8492e3a584b56ec29a6ccfc34fa82c31 /src/bin/edje
parent00d3bd174734479aa3b14dba1023bd5831732924 (diff)
epp - fix unchecked return
fix CID 1039717
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/epp/cpplib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index c3cd713b58..5891436bce 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -5257,7 +5257,11 @@ lookup_import(cpp_reader * pfile, char *filename, file_name_list * searchptr)
5257 fd = open_include_file(pfile, filename, searchptr); 5257 fd = open_include_file(pfile, filename, searchptr);
5258 if (fd < 0) 5258 if (fd < 0)
5259 return fd; 5259 return fd;
5260 fstat(fd, &sb); 5260 if (fstat(fd, &sb) < 0)
5261 {
5262 close(fd);
5263 return -2;
5264 }
5261 for (h = 0; h < IMPORT_HASH_SIZE; h++) 5265 for (h = 0; h < IMPORT_HASH_SIZE; h++)
5262 { 5266 {
5263 i = pfile->import_hash_table[h]; 5267 i = pfile->import_hash_table[h];