mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Sync to Wine-20050111:
Michael Stefaniuc <mstefani@redhat.de> Missing HeapFree's + 1 LocalFree (found by smatch). svn path=/trunk/; revision=12930
This commit is contained in:
parent
011cd29d57
commit
4702ede529
1 changed files with 3 additions and 1 deletions
|
@ -121,8 +121,10 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR what)
|
|||
TRACE("extracting to dir: %s\n", debugstr_a(dir));
|
||||
|
||||
/* FIXME: what to do on failure? */
|
||||
if (!process_cabinet(what, dir, FALSE, FALSE, dest))
|
||||
if (!process_cabinet(what, dir, FALSE, FALSE, dest)) {
|
||||
LocalFree(dir);
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
LocalFree(dir);
|
||||
|
||||
|
|
Loading…
Reference in a new issue