Skip to content

Commit

Permalink
fix: memory error on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Nov 26, 2024
1 parent 69a4f6d commit 3721ad0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/widget/form/genericchatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ GenericChatForm::GenericChatForm(const Core& core_, const Chat* chat, IChatLog&
GenericChatForm::~GenericChatForm()
{
Translator::unregister(this);
#ifdef SPELL_CHECKING
delete decorator;
#endif
delete searchForm;
}

Expand Down

0 comments on commit 3721ad0

Please sign in to comment.