Commit 4e7a7d01 authored by Thomas Faller's avatar Thomas Faller Committed by Alexandre Julliard

dde: Fix use-after-free.

parent 18b0ca3f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment