ole32: Make sure to reset the message state if it has been changed in RPC_ExecuteCall before returning.

Robert Shearman rob at codeweavers.com
Thu Jan 4 10:55:21 CST 2007

Fix the hrFault parameter passed into the ClientNotify function in 
ClientRpcChannelBuffer_SendReceive so that it is correct in the case of 
messages dispatched with PostMessage.

Only unmarshal ORPCTHAT for non-fault packets.
  dlls/ole32/rpc.c |   54 
  1 files changed, 36 insertions(+), 18 deletions(-)

This fixes a warn:heap message caused by freeing a wrong Buffer pointer 
in the ole32 marshal tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4ebdcf626831e63426bd2b5a2104f5dc61468b02.diff
Type: text/x-patch
Size: 4643 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070104/02c91ea2/4ebdcf626831e63426bd2b5a2104f5dc61468b02.bin

More information about the wine-patches mailing list