mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:42:59 +00:00
Implemented FreeEnvironmentStringsW().
svn path=/trunk/; revision=3646
This commit is contained in:
parent
bb4e509794
commit
f56af542aa
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: env.c,v 1.15 2002/09/08 10:22:44 chorns Exp $
|
/* $Id: env.c,v 1.16 2002/10/20 23:56:05 mdill Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -365,6 +365,13 @@ FreeEnvironmentStringsW (
|
||||||
LPWSTR EnvironmentStrings
|
LPWSTR EnvironmentStrings
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
if(EnvironmentStrings == NULL)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
RtlFreeHeap(RtlGetProcessHeap(),
|
||||||
|
0,
|
||||||
|
EnvironmentStrings);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue