From db31374dcce6b858d553452aa1829687ef5071fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Aug 2020 16:10:45 +0300 Subject: useless code removed --- protocols/JabberG/src/jabber_list.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/JabberG/src/jabber_list.cpp b/protocols/JabberG/src/jabber_list.cpp index ea2c0083dd..f735f3291b 100644 --- a/protocols/JabberG/src/jabber_list.cpp +++ b/protocols/JabberG/src/jabber_list.cpp @@ -39,8 +39,7 @@ JABBER_LIST_ITEM::~JABBER_LIST_ITEM() for (auto &it : arResources) delete it; - if (m_pItemResource) - delete m_pItemResource; + delete m_pItemResource; if (photoFileName) { if (list == LIST_VCARD_TEMP) -- cgit v1.2.3