diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-20 21:28:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-20 21:28:27 +0000 |
commit | 71465258cce14f8d417ba31e3010298f7640ac2d (patch) | |
tree | 1fe57d014d8ae844000412429235a0c4297a41dc /protocols/JabberG/src/jabber_privacy.h | |
parent | 5756772ef9e9fd5b4a730d8a16737996cbec55f5 (diff) |
- built-in base64 encode removed;
- various memory allocation issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@5435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_privacy.h')
-rw-r--r-- | protocols/JabberG/src/jabber_privacy.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.h b/protocols/JabberG/src/jabber_privacy.h index aafc779bc9..ef29ce53d2 100644 --- a/protocols/JabberG/src/jabber_privacy.h +++ b/protocols/JabberG/src/jabber_privacy.h @@ -69,9 +69,7 @@ public: };
~CPrivacyListRule()
{
- if (m_szValue)
- mir_free(m_szValue);
-
+ mir_free(m_szValue);
if (m_pNext)
delete m_pNext;
};
@@ -166,8 +164,7 @@ public: };
~CPrivacyList()
{
- if (m_szListName)
- mir_free(m_szListName);
+ mir_free(m_szListName);
RemoveAllRules();
if (m_pNext)
delete m_pNext;
@@ -341,10 +338,8 @@ public: };
~CPrivacyListManager()
{
- if (m_szActiveListName)
- mir_free(m_szActiveListName);
- if (m_szDefaultListName)
- mir_free(m_szDefaultListName);
+ mir_free(m_szActiveListName);
+ mir_free(m_szDefaultListName);
RemoveAllLists();
DeleteCriticalSection(&m_cs);
};
|