From ea3ab8f3a8ed69436d3350ac15593394fc7e0e56 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 16 Dec 2014 13:11:12 +0000 Subject: Fixed minor leaks git-svn-id: http://svn.miranda-ng.org/main/trunk@11457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/protos.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mir_core/protos.cpp') diff --git a/src/mir_core/protos.cpp b/src/mir_core/protos.cpp index b8cacdd8fb..0c2e6c8e5a 100644 --- a/src/mir_core/protos.cpp +++ b/src/mir_core/protos.cpp @@ -70,6 +70,8 @@ MIR_CORE_DLL(INT_PTR) ProtoBroadcastAck(const char *szModule, MCONTACT hContact, MultiByteToWideChar(CP_ACP, 0, ai->filename, -1, aiw.filename, SIZEOF(aiw.filename)); hProcess = &aiw; + ACKDATA ack = { sizeof(ACKDATA), szModule, hContact, type, result, hProcess, lParam }; + return NotifyEventHooks(hAckEvent, 0, (LPARAM)&ack); } } -- cgit v1.2.3