rpcrt4: Fix a case of destroying a context handle without first releasing the lock.

Robert Shearman rob at codeweavers.com
Sun Dec 30 10:45:19 CST 2007


Reverse the order of the release statements in NDRSContextMarshall2 for 
the case where the context handle doesn't have valid data so that the 
release that releases the lock comes first and then the optional second 
release doesn't need to release the lock.
---
  dlls/rpcrt4/ndr_contexthandle.c |   10 +++++++---
  1 files changed, 7 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ece423b375267f3dc0a7f8dbf11c9bd98d52f9b5.diff
Type: text/x-patch
Size: 1568 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071230/884592c3/attachment.bin 


More information about the wine-patches mailing list