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:
a3fba57
)
edje_decc: modified fclose location
author
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 20 Sep 2016 14:23:29 +0000
(23:23 +0900)
committer
Jaehyun Cho
<jae_hyun.cho@samsung.com>
Wed, 21 Sep 2016 00:41:48 +0000
(09:41 +0900)
modified fclose location. because of file pointer can become NULL.
Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
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
2f5fe96
..
fdbc903
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);
}
}
}