summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-03 16:10:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-03 16:10:45 +0300
commitdb31374dcce6b858d553452aa1829687ef5071fd (patch)
tree154a44a43e5c0847dc28f6a79a03ed5064ce994d /protocols/JabberG
parent87814134e5a69926d8323f577859d44d7026b945 (diff)
useless code removed
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_list.cpp3
1 files changed, 1 insertions, 2 deletions
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)