From 3b602f5fea113cececda84cbd354c73b46d3cb21 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 22 Oct 2009 15:10:58 +0200 Subject: [PATCH] rpcrt4/tests: Fix a double free (Valgrind). --- dlls/rpcrt4/tests/rpc_protseq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/rpcrt4/tests/rpc_protseq.c b/dlls/rpcrt4/tests/rpc_protseq.c index 3acc38bde0f..36aea30bf88 100644 --- a/dlls/rpcrt4/tests/rpc_protseq.c +++ b/dlls/rpcrt4/tests/rpc_protseq.c @@ -173,8 +173,6 @@ static void test_endpoint_mapper(RPC_CSTR protseq, RPC_CSTR address) status = RpcBindingReset(handle); ok(status == RPC_S_OK, "%s: RpcBindingReset failed with error %u\n", protseq, status); - RpcStringFree(&binding); - status = RpcEpResolveBinding(handle, IFoo_v0_0_s_ifspec); ok(status == RPC_S_OK || broken(status == RPC_S_SERVER_UNAVAILABLE), /* win9x */ "%s: RpcEpResolveBinding failed with error %u\n", protseq, status);