diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-13 20:27:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-13 20:27:01 +0000 |
commit | 690f3c5828685ffc3c2a11d8d68e4c0b1cf5f0ba (patch) | |
tree | 6fe6df105c8ffcefb5e3c0bfe59b14bfa2d1acbe /protocols/IcqOscarJ/src/icq_avatar.cpp | |
parent | 37c98eaad76b7f1bf86c75fe2c32cf6aa11f7c6f (diff) |
major memory leak in ICQ cookie module
git-svn-id: http://svn.miranda-ng.org/main/trunk@16829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_avatar.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_avatar.cpp b/protocols/IcqOscarJ/src/icq_avatar.cpp index 284ccf03d4..a48ba14ee5 100644 --- a/protocols/IcqOscarJ/src/icq_avatar.cpp +++ b/protocols/IcqOscarJ/src/icq_avatar.cpp @@ -932,7 +932,7 @@ void avatars_server_connection::connectionThread() {
// release rates
mir_cslock l(m_ratesMutex);
- SAFE_DELETE((MZeroedObject**)&m_rates);
+ delete m_rates; m_rates = NULL;
}
SAFE_FREE((void**)&pCookie);
|