mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Free memory on error
svn path=/trunk/; revision=42618
This commit is contained in:
parent
d6e84af5f7
commit
d2c4562d5b
1 changed files with 1 additions and 1 deletions
|
@ -1489,7 +1489,7 @@ int CDECL _wopen(const wchar_t *path,int flags,...)
|
|||
free(patha);
|
||||
return retval;
|
||||
}
|
||||
|
||||
free(patha);
|
||||
_dosmaperr(GetLastError());
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue