Forget the old drain reason when rehashing

This commit is contained in:
Ed Kellett 2020-11-09 18:29:54 +00:00
parent 2707630451
commit 1596fc8ffd

View file

@ -1535,6 +1535,8 @@ clear_out_old_conf(void)
ConfigFileEntry.kline_reason = NULL; ConfigFileEntry.kline_reason = NULL;
rb_free(ConfigFileEntry.sasl_service); rb_free(ConfigFileEntry.sasl_service);
ConfigFileEntry.sasl_service = NULL; ConfigFileEntry.sasl_service = NULL;
rb_free(ConfigFileEntry.drain_reason);
ConfigFileEntry.drain_reason = NULL;
if (ConfigFileEntry.hidden_caps != NULL) if (ConfigFileEntry.hidden_caps != NULL)
{ {