Addendum to r64053.
Fix EmbeddedPointerFree too. Patch by Alexandre Julliard.

svn path=/trunk/; revision=64199
This commit is contained in:
Eric Kohl 2014-09-19 20:30:17 +00:00
parent 1a32ccc84c
commit 3274770f12

View file

@ -1479,7 +1479,7 @@ static void EmbeddedPointerFree(PMIDL_STUB_MESSAGE pStubMsg,
unsigned char *memptr = membase + *(const SHORT*)&info[0];
unsigned char *saved_memory = pStubMsg->Memory;
pStubMsg->Memory = pMemory;
pStubMsg->Memory = membase;
PointerFree(pStubMsg, *(unsigned char**)memptr, info+4);
pStubMsg->Memory = saved_memory;
}