diff options
Diffstat (limited to 'src/plugins/spell/spell-speller.c')
-rw-r--r-- | src/plugins/spell/spell-speller.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/spell/spell-speller.c b/src/plugins/spell/spell-speller.c index 007a4c570..5ae383126 100644 --- a/src/plugins/spell/spell-speller.c +++ b/src/plugins/spell/spell-speller.c @@ -446,12 +446,9 @@ spell_speller_buffer_free_value_cb (struct t_hashtable *hashtable, ptr_speller_buffer = (struct t_spell_speller_buffer *)value; - if (ptr_speller_buffer->spellers) - free (ptr_speller_buffer->spellers); - if (ptr_speller_buffer->modifier_string) - free (ptr_speller_buffer->modifier_string); - if (ptr_speller_buffer->modifier_result) - free (ptr_speller_buffer->modifier_result); + free (ptr_speller_buffer->spellers); + free (ptr_speller_buffer->modifier_string); + free (ptr_speller_buffer->modifier_result); free (ptr_speller_buffer); } |