forked from enlightenment/efl
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:
parent
a3fba57b26
commit
8f66497aca
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue