rpcrt4: Mark the buffer as invalid in NdrProxyFreeBuffer().

This commit is contained in:
Dmitry Timoshkov 2022-12-13 20:57:18 -06:00 committed by Alexandre Julliard
parent dccc6a60b6
commit 4ec4bdff73

View file

@ -586,7 +586,7 @@ void WINAPI NdrProxyFreeBuffer(void *This,
{
IRpcChannelBuffer_FreeBuffer(pStubMsg->pRpcChannelBuffer,
(RPCOLEMESSAGE*)pStubMsg->RpcMsg);
pStubMsg->fBufferValid = TRUE;
pStubMsg->fBufferValid = FALSE;
}
IRpcChannelBuffer_Release(pStubMsg->pRpcChannelBuffer);
pStubMsg->pRpcChannelBuffer = NULL;