Commit 4ec4bdff authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent dccc6a60
...@@ -586,7 +586,7 @@ void WINAPI NdrProxyFreeBuffer(void *This, ...@@ -586,7 +586,7 @@ void WINAPI NdrProxyFreeBuffer(void *This,
{ {
IRpcChannelBuffer_FreeBuffer(pStubMsg->pRpcChannelBuffer, IRpcChannelBuffer_FreeBuffer(pStubMsg->pRpcChannelBuffer,
(RPCOLEMESSAGE*)pStubMsg->RpcMsg); (RPCOLEMESSAGE*)pStubMsg->RpcMsg);
pStubMsg->fBufferValid = TRUE; pStubMsg->fBufferValid = FALSE;
} }
IRpcChannelBuffer_Release(pStubMsg->pRpcChannelBuffer); IRpcChannelBuffer_Release(pStubMsg->pRpcChannelBuffer);
pStubMsg->pRpcChannelBuffer = NULL; pStubMsg->pRpcChannelBuffer = NULL;
......
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