diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-21 11:11:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-21 11:11:20 +0000 |
commit | aa8f4373e0c9614b7d64a5760c0fa071b1c1edc9 (patch) | |
tree | 218b31bc3166dfc36adf55800b7e7cdea17a8c68 /plugins/NewAwaySysMod | |
parent | c80bc292b555c6666930790c399f6fac6226c468 (diff) |
- MZeroedObject used instead of the operator new() inlining
- SAFE_DELETE of local objects removed from ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@1092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r-- | plugins/NewAwaySysMod/Properties.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/NewAwaySysMod/Properties.cpp b/plugins/NewAwaySysMod/Properties.cpp index eb14d79950..c9dc3c1c9c 100644 --- a/plugins/NewAwaySysMod/Properties.cpp +++ b/plugins/NewAwaySysMod/Properties.cpp @@ -22,42 +22,6 @@ CProtoStates g_ProtoStates;
-
-/*char *mystrdup(const char *szStr)
-{
- char *szNew = (char *)malloc(lstrlen(szStr) + 1);
- lstrcpy(szNew, szStr);
- return szNew;
-}
-
-
-void *mymalloc(size_t size)
-{
- return HeapAlloc(GetProcessHeap(), 0, size);//GlobalAlloc(GPTR, size);
-}
-
-
-void myfree(void *p)
-{
- //GlobalFree(p);
- HeapFree(GetProcessHeap(), 0, p);
-}
-
-
-void *__cdecl operator new(unsigned int size)
-{
- return (void *)HeapAlloc(GetProcessHeap(), 0, size);//GlobalAlloc(GPTR, size);
-}
-
-
-void __cdecl operator delete(void *p)
-{
-// GlobalFree((HGLOBAL)p);
- HeapFree(GetProcessHeap(), 0, p);
-}
-*/
-
-
void ResetContactSettingsOnStatusChange(HANDLE hContact)
{
DBDeleteContactSetting(hContact, MOD_NAME, DB_REQUESTCOUNT);
|