From: Dragos Oancea Date: Wed, 7 Jul 2021 12:47:33 +0000 (+0000) Subject: [core] MSRP: fix memleak (ssl) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa3e8ef161ff5d322eaa0ddd4571cc011447892e;p=thirdparty%2Ffreeswitch.git [core] MSRP: fix memleak (ssl) --- diff --git a/src/switch_msrp.c b/src/switch_msrp.c index 6a75945874..b76a043261 100644 --- a/src/switch_msrp.c +++ b/src/switch_msrp.c @@ -1413,7 +1413,7 @@ end: 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;