summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-21 11:11:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-21 11:11:20 +0000
commitaa8f4373e0c9614b7d64a5760c0fa071b1c1edc9 (patch)
tree218b31bc3166dfc36adf55800b7e7cdea17a8c68 /plugins/NewAwaySysMod
parentc80bc292b555c6666930790c399f6fac6226c468 (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.cpp36
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);