authproc: don't try to delete bl_stats if it hasn't been created
This commit is contained in:
parent
8a29e7cd1e
commit
4573f8f2fb
1 changed files with 2 additions and 1 deletions
|
@ -648,7 +648,8 @@ blacklist_delete(rb_dictionary_element *delem, void *unused)
|
||||||
void
|
void
|
||||||
del_blacklist_all(void)
|
del_blacklist_all(void)
|
||||||
{
|
{
|
||||||
rb_dictionary_destroy(bl_stats, blacklist_delete, NULL);
|
if(bl_stats != NULL)
|
||||||
|
rb_dictionary_destroy(bl_stats, blacklist_delete, NULL);
|
||||||
bl_stats = NULL;
|
bl_stats = NULL;
|
||||||
|
|
||||||
rb_helper_write(authd_helper, "O rbl_del_all");
|
rb_helper_write(authd_helper, "O rbl_del_all");
|
||||||
|
|
Loading…
Reference in a new issue