summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_rc.h')
-rw-r--r--protocols/JabberG/src/jabber_rc.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_rc.h b/protocols/JabberG/src/jabber_rc.h
index 9660b36834..fae38a0bf0 100644
--- a/protocols/JabberG/src/jabber_rc.h
+++ b/protocols/JabberG/src/jabber_rc.h
@@ -119,12 +119,10 @@ public:
}
~CJabberAdhocNode()
{
- if (m_szJid)
- mir_free(m_szJid);
- if (m_szNode)
- mir_free(m_szNode);
- if (m_szName)
- mir_free(m_szName);
+ mir_free(m_szJid);
+ mir_free(m_szNode);
+ mir_free(m_szName);
+
if (m_pNext)
delete m_pNext;
}