diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2024-02-11 19:11:24 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2024-02-11 19:11:24 -0300 |
commit | 230a70d02e13123436815635a41824f906671505 (patch) | |
tree | 478c27a66deb81a03e81c1b4bb8d241990dd5a2b /src/common/server.c | |
parent | 014b242df803089c34084de3d806a7c4e4dad75e (diff) | |
parent | b544ac3350e85d4cc41fe3414cbdb82d75ce5d7a (diff) |
Merge remote-tracking branch 'upstream/master' into default
Diffstat (limited to 'src/common/server.c')
-rw-r--r-- | src/common/server.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/server.c b/src/common/server.c index e14da237..c78ce900 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -1765,7 +1765,9 @@ server_set_defaults (server *serv) g_free (serv->chanmodes); g_free (serv->nick_prefixes); g_free (serv->nick_modes); - +#ifdef USE_OPENSSL + g_clear_pointer (&serv->scram_session, scram_session_free); +#endif serv->chantypes = g_strdup ("#&!+"); serv->chanmodes = g_strdup ("beI,k,l"); serv->nick_prefixes = g_strdup ("@%+"); @@ -1937,6 +1939,8 @@ server_free (server *serv) #ifdef USE_OPENSSL if (serv->ctx) _SSL_context_free (serv->ctx); + + g_clear_pointer (&serv->scram_session, scram_session_free); #endif fe_server_callback (serv); |