[core] MSRP: fix memleak (ssl)

This commit is contained in:
Dragos Oancea 2021-07-07 12:47:33 +00:00 committed by Andrey Volk
parent da15a518f7
commit 31970d51fd
1 changed files with 1 additions and 1 deletions

View File

@ -1413,7 +1413,7 @@ end:
if (!client_mode) switch_core_destroy_memory_pool(&pool); if (!client_mode) switch_core_destroy_memory_pool(&pool);
if (client_mode && ssl) SSL_free(ssl); if (ssl) SSL_free(ssl);
if (msrp_session) msrp_session->running = 0; if (msrp_session) msrp_session->running = 0;