diff --git a/dlls/rpcrt4/ndr_contexthandle.c b/dlls/rpcrt4/ndr_contexthandle.c index 054bba38165..15192a72878 100644 --- a/dlls/rpcrt4/ndr_contexthandle.c +++ b/dlls/rpcrt4/ndr_contexthandle.c @@ -89,7 +89,10 @@ RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext) LeaveCriticalSection(&ndr_context_cs); if (!handle) + { + ERR("invalid handle %p\n", CContext); RpcRaiseException(ERROR_INVALID_HANDLE); + } return handle; }