mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
FS-12041: [Core] Fix memory leak on msrp shutdown
This commit is contained in:
parent
fc925a273b
commit
70831a7140
@ -108,6 +108,10 @@ static void msrp_deinit_ssl()
|
|||||||
SSL_CTX_free(globals.ssl_ctx);
|
SSL_CTX_free(globals.ssl_ctx);
|
||||||
globals.ssl_ctx = NULL;
|
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()
|
static void msrp_init_ssl()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user