diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-27 19:56:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-27 19:56:05 +0000 |
commit | 0f542832f1602942369e1e5e427154116de6ae28 (patch) | |
tree | 6452d5aa3fee3fb82dfef641aaabc2ea2205dd4f /plugins/Db3x_mmap/src | |
parent | 1fd19cd3da289220824acc8874a1032d675ce64b (diff) |
fix for memory allocation problem
git-svn-id: http://svn.miranda-ng.org/main/trunk@1218 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/eventchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp index 9c9a41f999..60ad3e249e 100644 --- a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp +++ b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp @@ -58,7 +58,7 @@ void CDb3Base::ConvertOldEvent(DBEvent*& dbei) dbei = memblock;
}
memcpy(&dbei->blob, utf8str, dbei->cbBlob);
- free(utf8str);
+ mir_free(utf8str);
} }
void CDb3Base::WriteOfsNextToPrevious(DWORD ofsPrev,DBContact *dbc,DWORD ofsNext)
|