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>
This commit is contained in:
junsu choi 2016-09-20 23:23:29 +09:00 committed by Jaehyun Cho
parent a3fba57b26
commit 8f66497aca
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}