[0.4.12][GFLAGS] ModifyStatus(): Remove a remnant HeapFree() (#3283) CORE-17325
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Thu, 8 Oct 2020 20:39:31 +0000 (22:39 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sun, 11 Oct 2020 17:11:35 +0000 (19:11 +0200)
Addendum to 0.4.11-dev-439-g
ec621270a17aef6c97827b28fefa11e987a06335

I will not rebuild any iso for this commit as gflags.exe is by
default not built into our isos.

cherry picked from commit 0.4.15-dev-1101-g
374f9db3419e0a1ab0e1cdd38bafcc632dd9aa9b

modules/rosapps/applications/cmdutils/gflags/pageheap.c

index e528917..fdef818 100644 (file)
@@ -117,7 +117,6 @@ static VOID ModifyStatus(VOID)
     wprintf(L"path: %s\n", ImageExecOptionsString);
     wprintf(L"\t%s: page heap %s\n", Image, (Set ? L"enabled" : L"disabled"));
 
-    HeapFree(GetProcessHeap(), 0, Buffer);
     RegCloseKey(IFEOKey);
 }