mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Free memory for symbols when process is terminated.
svn path=/trunk/; revision=2476
This commit is contained in:
parent
a4178da184
commit
3221f88ce3
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: process.c,v 1.72 2002/01/02 21:00:02 chorns Exp $
|
/* $Id: process.c,v 1.73 2002/01/03 12:48:02 chorns Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -285,6 +285,7 @@ PiFreeSymbols(PPEB Peb)
|
||||||
while (Symbol != NULL)
|
while (Symbol != NULL)
|
||||||
{
|
{
|
||||||
NextSymbol = Symbol->Next;
|
NextSymbol = Symbol->Next;
|
||||||
|
RtlFreeUnicodeString (&Symbol->Name);
|
||||||
ExFreePool (Symbol);
|
ExFreePool (Symbol);
|
||||||
Symbol = NextSymbol;
|
Symbol = NextSymbol;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue