mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +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);
|
free(patha);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
free(patha);
|
||||||
_dosmaperr(GetLastError());
|
_dosmaperr(GetLastError());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue