FS-9569: [mod_shout] close file handle when recording mp3 files that never get written to
This commit is contained in:
parent
50714ec5e4
commit
aa01a265e4
|
@ -195,7 +195,9 @@ static inline void free_context(shout_context_t *context)
|
|||
}
|
||||
|
||||
lame_mp3_tags_fid(context->gfp, context->fp);
|
||||
}
|
||||
|
||||
if (context->fp) {
|
||||
fclose(context->fp);
|
||||
context->fp = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue