summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2016-09-20 23:23:29 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2016-09-21 09:41:48 +0900
commit8f66497acac27ef9bf53026429fa221b7e2a3f27 (patch)
tree7f6e8fd0da0606e71569f8efb2101c59026825c1 /src
parenta3fba57b2616f78fbdab7b43ac8e8aea7c56475b (diff)
edje_decc: modified fclose location
modified fclose location. because of file pointer can become NULL. Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_decc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_decc.c b/src/bin/edje/edje_decc.c
index 2f5fe96de9..fdbc903961 100644
--- a/src/bin/edje/edje_decc.c
+++ b/src/bin/edje/edje_decc.c
@@ -566,9 +566,9 @@ output(void)
566 { 566 {
567 if (fwrite(data, data_size, 1, f) != 1) 567 if (fwrite(data, data_size, 1, f) != 1)
568 ERR("Could not write sound: %s", strerror(errno)); 568 ERR("Could not write sound: %s", strerror(errno));
569 fclose(f);
569 } 570 }
570 else ERR("Could not open for writing sound: %s: %s", out1, strerror(errno)); 571 else ERR("Could not open for writing sound: %s: %s", out1, strerror(errno));
571 fclose(f);
572 } 572 }
573 } 573 }
574 } 574 }