rpcrt4/tests: Fix some memory leaks (Valgrind).

This commit is contained in:
Paul Vriens 2010-01-22 11:22:37 +01:00 committed by Alexandre Julliard
parent 307b9fb687
commit da91da4652

View File

@ -654,9 +654,13 @@ static void test_RpcStringBindingParseA(void)
ok(status == RPC_S_INVALID_STRING_BINDING, "RpcStringBindingParseA should have returned RPC_S_INVALID_STRING_BINDING instead of %d\n", status);
todo_wine
ok(uuid == NULL, "uuid was %p instead of NULL\n", uuid);
if (uuid)
RpcStringFreeA(&uuid);
ok(protseq == NULL, "protseq was %p instead of NULL\n", protseq);
todo_wine
ok(network_addr == NULL, "network_addr was %p instead of NULL\n", network_addr);
if (network_addr)
RpcStringFreeA(&network_addr);
ok(endpoint == NULL, "endpoint was %p instead of NULL\n", endpoint);
ok(options == NULL, "options was %p instead of NULL\n", options);
}