summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 97f8425d..c78ce900 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -1766,7 +1766,7 @@ server_set_defaults (server *serv)
 	g_free (serv->nick_prefixes);
 	g_free (serv->nick_modes);
 #ifdef USE_OPENSSL
-        g_clear_pointer (&serv->scram_session, scram_free_session);
+        g_clear_pointer (&serv->scram_session, scram_session_free);
 #endif
 	serv->chantypes = g_strdup ("#&!+");
 	serv->chanmodes = g_strdup ("beI,k,l");
@@ -1940,7 +1940,7 @@ server_free (server *serv)
 	if (serv->ctx)
 		_SSL_context_free (serv->ctx);
 
-        g_clear_pointer (&serv->scram_session, scram_free_session);
+        g_clear_pointer (&serv->scram_session, scram_session_free);
 #endif
 
 	fe_server_callback (serv);