mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-28 05:04:13 +00:00
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);
|
lame_mp3_tags_fid(context->gfp, context->fp);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (context->fp) {
|
||||||
fclose(context->fp);
|
fclose(context->fp);
|
||||||
context->fp = NULL;
|
context->fp = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user