From: William Pitcock Date: Fri, 19 Feb 2010 00:38:26 +0000 (-0600) Subject: Do not try to free the alias dict if it does not exist. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/dbcd150bce9dfff905c0e53e98072adc2ae87cd5 Do not try to free the alias dict if it does not exist. --- diff --git a/src/s_conf.c b/src/s_conf.c index 9190518b..b5004bcb 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -1221,8 +1221,11 @@ clear_out_old_conf(void) } /* remove any aliases... -- nenolod */ - irc_dictionary_destroy(alias_dict, free_alias_cb, NULL); - alias_dict = NULL; + if (alias_dict != NULL) + { + irc_dictionary_destroy(alias_dict, free_alias_cb, NULL); + alias_dict = NULL; + } destroy_blacklists();