dde: Fix use-after-free.
Signed-off-by: Thomas Faller <tfaller1@gmx.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
18b0ca3fe3
commit
4e7a7d01ff
|
@ -778,7 +778,7 @@ static WDML_QUEUE_STATE WDML_HandlePokeReply(WDML_CONV* pConv, MSG* msg, WDML_XA
|
|||
GlobalDeleteAtom(uiHi);
|
||||
|
||||
if (ack) *ack = uiLo;
|
||||
GlobalFree(pXAct->hMem);
|
||||
pXAct->hMem = GlobalFree(pXAct->hMem);
|
||||
|
||||
pXAct->hDdeData = (HDDEDATA)TRUE;
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue