summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
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)