Do not free the not owned error string.

This commit is contained in:
Dmitry Timoshkov 2000-12-21 20:18:40 +00:00 committed by Alexandre Julliard
parent de3486dd1c
commit 81cb2387e0

View file

@ -1085,7 +1085,6 @@ VOID __cdecl CRTDLL_perror (LPCSTR err)
{
char *err_str = CRTDLL_strerror(CRTDLL_errno);
CRTDLL_fprintf(CRTDLL_stderr,"%s: %s\n",err,err_str);
CRTDLL_free(err_str);
}