提交 c4cd4834 authored 作者: Mike Jerris's avatar Mike Jerris

FS-9569: [mod_shout] close file handle when recording mp3 files that never get written to

上级 220ad0c2
...@@ -195,7 +195,9 @@ static inline void free_context(shout_context_t *context) ...@@ -195,7 +195,9 @@ static inline void free_context(shout_context_t *context)
} }
lame_mp3_tags_fid(context->gfp, context->fp); lame_mp3_tags_fid(context->gfp, context->fp);
}
if (context->fp) {
fclose(context->fp); fclose(context->fp);
context->fp = NULL; context->fp = NULL;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论