mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-31 02:33:44 +00:00
[core] fix shutdown crash when core running with MINIMAL flag
This commit is contained in:
parent
66aa064588
commit
254fda292a
@ -14069,7 +14069,9 @@ SWITCH_DECLARE(void) switch_core_media_init(void)
|
|||||||
|
|
||||||
SWITCH_DECLARE(void) switch_core_media_deinit(void)
|
SWITCH_DECLARE(void) switch_core_media_deinit(void)
|
||||||
{
|
{
|
||||||
switch_core_destroy_memory_pool(&video_globals.pool);
|
if (video_globals.pool) {
|
||||||
|
switch_core_destroy_memory_pool(&video_globals.pool);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int payload_number(const char *name)
|
static int payload_number(const char *name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user