forked from Mirrors/freeswitch
[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_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)
|
||||
|
Loading…
Reference in New Issue
Block a user