mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fix bug: explicitly close output file in Ogg FLAC case
This commit is contained in:
@@ -1245,6 +1245,8 @@ void EncoderSession_destroy(EncoderSession *e)
|
||||
{
|
||||
if(e->fin != stdin)
|
||||
fclose(e->fin);
|
||||
if(0 != e->fout && e->fout != stdout)
|
||||
fclose(e->fout);
|
||||
|
||||
#ifdef FLAC__HAS_OGG
|
||||
if(e->use_ogg) {
|
||||
|
||||
Reference in New Issue
Block a user