mirror of
https://github.com/kakwa/uts-server
synced 2025-01-09 21:24:29 +01:00
fix more memleaks
This commit is contained in:
parent
503a09aa58
commit
3d020cf26f
@ -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…
x
Reference in New Issue
Block a user