0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-17 22:18:52 +02:00

Do not try to free the alias dict if it does not exist.

This commit is contained in:
William Pitcock 2010-02-18 18:38:26 -06:00
parent 7ef7663502
commit dbcd150bce

View file

@ -1221,8 +1221,11 @@ clear_out_old_conf(void)
} }
/* remove any aliases... -- nenolod */ /* remove any aliases... -- nenolod */
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL); if (alias_dict != NULL)
alias_dict = NULL; {
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
alias_dict = NULL;
}
destroy_blacklists(); destroy_blacklists();