diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 4b2a86a66..78ebfa1e7 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -1394,6 +1394,7 @@ void Widget::removeFriend(Friend* f, bool fake) FriendList::removeFriend(f->getFriendId(), fake); Nexus::getCore()->removeFriend(f->getFriendId(), fake); + delete widget; delete f; if (contentLayout && contentLayout->mainHead->layout()->isEmpty()) { onAddClicked();