mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[RPCRT4]
- Avoid double free introduced in r63605. CORE-8200 svn path=/trunk/; revision=67071
This commit is contained in:
parent
3233f5f8b3
commit
9ad74ea48e
1 changed files with 3 additions and 1 deletions
|
@ -1109,7 +1109,9 @@ static LONG_PTR *stub_do_args(MIDL_STUB_MESSAGE *pStubMsg,
|
|||
call_marshaller(pStubMsg, pArg, ¶ms[i]);
|
||||
break;
|
||||
case STUBLESS_FREE:
|
||||
if (params[i].attr.ServerAllocSize)
|
||||
if (params[i].attr.MustFree)
|
||||
break;
|
||||
else if (params[i].attr.ServerAllocSize)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, *(void **)pArg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue