summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:02:39 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:02:39 +0900
commit00d3bd174734479aa3b14dba1023bd5831732924 (patch)
treefa778a939338e1ef8cd4d907486d9d5ef99eafb7 /src/bin/edje
parent27ef84e372ce9d15ec5d07bf5cf27e387eb079f4 (diff)
epp - fix unchecked return
this fixes CID 1039718
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/epp/cpplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index e3d6fa8e61..c3cd713b58 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -5288,7 +5288,7 @@ add_import(cpp_reader * pfile, int fd, char *fname)
5288 struct stat sb; 5288 struct stat sb;
5289 5289
5290 hashval = import_hash(fname); 5290 hashval = import_hash(fname);
5291 fstat(fd, &sb); 5291 if (fstat(fd, &sb) < 0) return;
5292 i = (struct import_file *)xmalloc(sizeof(struct import_file)); 5292 i = (struct import_file *)xmalloc(sizeof(struct import_file));
5293 5293
5294 i->name = (char *)xmalloc(strlen(fname) + 1); 5294 i->name = (char *)xmalloc(strlen(fname) + 1);