Merge pull request #1812 in FS/freeswitch from bugfix/FS-12041-core-fix-memory-leak-on-msrp-shutdown to master

* commit '70831a7140343cd4bf9ae76337458a0644dde103':
  FS-12041: [Core] Fix memory leak on msrp shutdown
This commit is contained in:
Andrey Volk 2019-09-06 18:37:04 -05:00
commit 6f62194af7
1 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,10 @@ static void msrp_deinit_ssl()
SSL_CTX_free(globals.ssl_ctx);
globals.ssl_ctx = NULL;
}
if (globals.ssl_client_ctx) {
SSL_CTX_free(globals.ssl_client_ctx);
globals.ssl_client_ctx = NULL;
}
}
static void msrp_init_ssl()