int weechat_plugin_end (struct t_weechat_plugin *plugin) { /* make C compiler happy */ (void) plugin; weechat_aspell_config_write (); weechat_aspell_config_free (); weechat_aspell_speller_end (); #ifdef USE_ENCHANT /* release enchant broker */ enchant_broker_free (broker); #endif return WEECHAT_RC_OK; }
int weechat_plugin_end (struct t_weechat_plugin *plugin) { /* make C compiler happy */ (void) plugin; weechat_aspell_config_write (); weechat_aspell_speller_free_all (); if (aspell_last_modifier_string) free (aspell_last_modifier_string); if (aspell_last_modifier_result) free (aspell_last_modifier_result); weechat_aspell_config_free (); return WEECHAT_RC_OK; }