From 3221f88ce30e4d7c16e452c121d90795fc4180e0 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Thu, 3 Jan 2002 12:48:02 +0000 Subject: [PATCH] Free memory for symbols when process is terminated. svn path=/trunk/; revision=2476 --- reactos/ntoskrnl/ps/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/process.c b/reactos/ntoskrnl/ps/process.c index 0fceb563da9..8391c29132d 100644 --- a/reactos/ntoskrnl/ps/process.c +++ b/reactos/ntoskrnl/ps/process.c @@ -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 * PROJECT: ReactOS kernel @@ -285,6 +285,7 @@ PiFreeSymbols(PPEB Peb) while (Symbol != NULL) { NextSymbol = Symbol->Next; + RtlFreeUnicodeString (&Symbol->Name); ExFreePool (Symbol); Symbol = NextSymbol; }