rpcrt4: Fix a case of destroying a context handle without first releasing the lock.
commitf6a29a1e73a4ad4bba7eac7be3d37266548684a9
authorRob Shearman <rob@codeweavers.com>
Sun, 30 Dec 2007 16:45:19 +0000 (30 16:45 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 31 Dec 2007 16:14:04 +0000 (31 17:14 +0100)
tree390dd082c0e32f865093673aa2503a0e605c8c2a
parent51c051c0c4fc26e45ab6c04684acf73886eeb7a1
rpcrt4: Fix a case of destroying a context handle without first releasing the lock.

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