Sync with Windows version.

This commit is contained in:
Aaron Giles 2010-03-04 09:19:45 +00:00
parent 45bac81dd9
commit 963a16b17b

View File

@ -45,7 +45,7 @@ extern "C" int _tmain(int argc, TCHAR **argv)
#endif
/* convert arguments to UTF-8 */
utf8_argv = (char **) osd_malloc(argc * sizeof(*argv));
utf8_argv = (char **) malloc(argc * sizeof(*argv));
if (utf8_argv == NULL)
return 999;
for (i = 0; i < argc; i++)
@ -61,7 +61,7 @@ extern "C" int _tmain(int argc, TCHAR **argv)
/* free arguments */
for (i = 0; i < argc; i++)
free(utf8_argv[i]);
osd_free(utf8_argv);
free(utf8_argv);
#ifdef MALLOC_DEBUG
{