Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- dlls/rpcrt4/tests/rpc.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index d3a3aee..2b16ea9 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -848,6 +848,11 @@ static void test_RpcBindingFree(void) RPC_BINDING_HANDLE binding = NULL; RPC_STATUS status;
+#if 0 + /* NULL triggers a STATUS_ACCESS_VIOLATION exception: it is not a special value */ + status = RpcBindingFree(NULL); +#endif + status = RpcBindingFree(&binding); ok(status == RPC_S_INVALID_BINDING, "RpcBindingFree should have returned RPC_S_INVALID_BINDING instead of %d\n",