dde: Fix use-after-free.

Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Thomas Faller 2016-01-12 22:06:30 +01:00 committed by Alexandre Julliard
parent 18b0ca3fe3
commit 4e7a7d01ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;