diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-29 20:53:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-29 20:53:23 +0000 |
commit | 552985214842965925143997a08fe98baf738679 (patch) | |
tree | 607340c0780a0076e21d5429f1a13d6b53ebe677 /plugins/ShellExt/src/shlipc.cpp | |
parent | c5f30ade3d3f2a9a3ba3952230a7f625f81b93ca (diff) |
- logging disabled for the future times
- fixed crash when groups are enabled;
- fixed incompatibility with Windows 7's Explorer;
- correct error codes for COM;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@5886 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt/src/shlipc.cpp')
-rw-r--r-- | plugins/ShellExt/src/shlipc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ShellExt/src/shlipc.cpp b/plugins/ShellExt/src/shlipc.cpp index f21c599d20..a58dd76055 100644 --- a/plugins/ShellExt/src/shlipc.cpp +++ b/plugins/ShellExt/src/shlipc.cpp @@ -19,9 +19,7 @@ TGroupNode* FindGroupNode(TGroupNode *p, const DWORD Hash, int Depth) TGroupNode* AllocGroupNode(TGroupNodeList *list, TGroupNode *Root, int Depth)
{
- TGroupNode *p = (TGroupNode*)mir_alloc( sizeof(TGroupNode));
- p->Left = NULL;
- p->Right = NULL;
+ TGroupNode *p = (TGroupNode*)calloc(1, sizeof(TGroupNode));
p->Depth = Depth;
if (Depth > 0) {
if (Root->Left == NULL)
|