mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14:13 +00:00
[mod_shout] Fix memory leak in do_telecast
This commit is contained in:
1 parent
82b6f01b69
commit
29b5043904
1 file changed
+2
-2
@@ -1333,8 +1333,6 @@ void do_telecast(switch_stream_handle_t *stream)
|
||||
|
||||
end:
|
||||
|
||||
switch_safe_free(uuid);
|
||||
|
||||
if (gfp) {
|
||||
lame_close(gfp);
|
||||
gfp = NULL;
|
||||
@@ -1350,6 +1348,8 @@ void do_telecast(switch_stream_handle_t *stream)
|
||||
|
||||
switch_core_session_rwunlock(tsession);
|
||||
}
|
||||
|
||||
switch_safe_free(uuid);
|
||||
}
|
||||
|
||||
void do_broadcast(switch_stream_handle_t *stream)
|
||||
|
||||
Reference in new issue
Block a user