From: Nikolay Sivov Subject: Revert "rpcrt4/tests: Fix a minor leak (Valgrind)." Message-Id: <552F3008.5080705@codeweavers.com> Date: Thu, 16 Apr 2015 06:44:08 +0300 This introduced tests crashes on 64bit VMs. From 313c604cf7003470151452828bd537ac44f9f7bf Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 16 Apr 2015 06:40:47 +0300 Subject: [PATCH] Revert "rpcrt4/tests: Fix a minor leak (Valgrind)." This reverts commit 4cf70b1418260fda95d69bcb50374a64f1ce895b. --- dlls/rpcrt4/tests/ndr_marshall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c index 917c9e5..315a452 100644 --- a/dlls/rpcrt4/tests/ndr_marshall.c +++ b/dlls/rpcrt4/tests/ndr_marshall.c @@ -1590,7 +1590,6 @@ todo_wine { "mem not pointing at buffer %p/%p\n", mem, StubMsg.BufferStart + 12 ); ok(my_alloc_called == 0, "alloc called %d\n", my_alloc_called); } - HeapFree(GetProcessHeap(), 0, mem_orig); my_alloc_called = 0; mem = mem_orig = HeapAlloc(GetProcessHeap(), 0, sizeof(memsrc)); -- 2.1.4