diff --git a/modules/rosapps/applications/cmdutils/gflags/pageheap.c b/modules/rosapps/applications/cmdutils/gflags/pageheap.c index e5289176c6f..fdef8187087 100644 --- a/modules/rosapps/applications/cmdutils/gflags/pageheap.c +++ b/modules/rosapps/applications/cmdutils/gflags/pageheap.c @@ -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); }