mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Free memory on error
svn path=/trunk/; revision=42618
This commit is contained in:
@@ -1489,7 +1489,7 @@ int CDECL _wopen(const wchar_t *path,int flags,...)
|
||||
free(patha);
|
||||
return retval;
|
||||
}
|
||||
|
||||
free(patha);
|
||||
_dosmaperr(GetLastError());
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user