* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52183
This commit is contained in:
parent
7825d1cf58
commit
c646bade05
2 changed files with 8 additions and 4 deletions
|
@ -88,7 +88,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
|||
if (GetTempPath (buflen, buffer))
|
||||
SET ("java.io.tmpdir", buffer);
|
||||
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
// Use GetUserName to set 'user.name'.
|
||||
|
@ -98,7 +98,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
|||
{
|
||||
if (GetUserName (buffer, &buflen))
|
||||
SET ("user.name", buffer);
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
// According to the api documentation for 'GetWindowsDirectory()', the
|
||||
|
@ -118,7 +118,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
|||
{
|
||||
if (GetWindowsDirectory (winHome, MAX_PATH))
|
||||
SET ("user.home", winHome);
|
||||
_Jv_free (winHome);
|
||||
_Jv_Free (winHome);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
|||
sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion,
|
||||
(int) osvi.dwMinorVersion);
|
||||
SET ("os.version", buffer);
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
switch (osvi.dwPlatformId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue