mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
fix more memleaks
This commit is contained in:
parent
236f0cf04c
commit
0fc57d5396
@ -202,6 +202,7 @@ int http_server_start(char *conffile, char *conf_wd, bool stdout_dbg) {
|
||||
while (g_uts_sig == 0) {
|
||||
sleep(1);
|
||||
}
|
||||
// getchar();
|
||||
|
||||
// Stop the server.
|
||||
mg_stop(ctx);
|
||||
|
@ -77,10 +77,11 @@ void free_ssl() {
|
||||
CONF_modules_unload(1);
|
||||
EVP_cleanup();
|
||||
// ENGINE_cleanup();
|
||||
ERR_remove_state(1);
|
||||
ERR_remove_state(0);
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
EVP_cleanup();
|
||||
ERR_free_strings();
|
||||
OBJ_cleanup();
|
||||
}
|
||||
|
||||
TS_RESP_CTX *create_tsctx(rfc3161_context *ct, CONF *conf, const char *section,
|
||||
|
Loading…
Reference in New Issue
Block a user