mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Do not free memory twice.
svn path=/trunk/; revision=27039
This commit is contained in:
@@ -1053,10 +1053,12 @@ ConioDeleteConsole(Object_t *Object)
|
||||
HeapFree(Win32CsrApiHeap, 0, Event);
|
||||
}
|
||||
|
||||
#if 0 // FIXME
|
||||
if (0 == InterlockedDecrement(&Console->ActiveBuffer->Header.ReferenceCount))
|
||||
{
|
||||
ConioDeleteScreenBuffer((Object_t *) Console->ActiveBuffer);
|
||||
}
|
||||
#endif
|
||||
|
||||
Console->ActiveBuffer = NULL;
|
||||
ConioCleanupConsole(Console);
|
||||
|
||||
Reference in New Issue
Block a user