summaryrefslogtreecommitdiff
path: root/src/plugins/spell/spell-speller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/spell/spell-speller.c')
-rw-r--r--src/plugins/spell/spell-speller.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/spell/spell-speller.c b/src/plugins/spell/spell-speller.c
index 5ae383126..b00d8208d 100644
--- a/src/plugins/spell/spell-speller.c
+++ b/src/plugins/spell/spell-speller.c
@@ -416,8 +416,7 @@ spell_speller_buffer_new (struct t_gui_buffer *buffer)
new_speller_buffer->spellers[num_dicts] = NULL;
}
}
- if (dicts)
- weechat_string_free_split (dicts);
+ weechat_string_free_split (dicts);
}
weechat_hashtable_set (spell_speller_buffer,