From 1596fc8ffda137614ef7d49e2dab2b58a5ab9f9a Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Mon, 9 Nov 2020 18:29:54 +0000 Subject: [PATCH] Forget the old drain reason when rehashing --- ircd/s_conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircd/s_conf.c b/ircd/s_conf.c index ebdee51f..f35d4123 100644 --- a/ircd/s_conf.c +++ b/ircd/s_conf.c @@ -1535,6 +1535,8 @@ clear_out_old_conf(void) ConfigFileEntry.kline_reason = NULL; rb_free(ConfigFileEntry.sasl_service); ConfigFileEntry.sasl_service = NULL; + rb_free(ConfigFileEntry.drain_reason); + ConfigFileEntry.drain_reason = NULL; if (ConfigFileEntry.hidden_caps != NULL) {