projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa099a
)
edje_decc: modified fclose location
05/88805/1
author
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 20 Sep 2016 14:23:29 +0000
(23:23 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 20 Sep 2016 14:23:29 +0000
(23:23 +0900)
modified fclose location. because of file pointer can become NULL.
Change-Id: I6aa5a2dff76a80a6a39b49f3c74adf6aae636828
src/bin/edje/edje_decc.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/edje_decc.c
b/src/bin/edje/edje_decc.c
index
8c0dd3c
..
3d9b034
100644
(file)
--- a/
src/bin/edje/edje_decc.c
+++ b/
src/bin/edje/edje_decc.c
@@
-566,9
+566,9
@@
output(void)
{
if (fwrite(data, data_size, 1, f) != 1)
ERR("Could not write sound: %s", strerror(errno));
+ fclose(f);
}
else ERR("Could not open for writing sound: %s: %s", out1, strerror(errno));
- fclose(f);
}
}
}