Do not try to free the alias dict if it does not exist.
This commit is contained in:
parent
552379f2ab
commit
ba29286a4a
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue