mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Sync to Wine-20050111:
Michael Stefaniuc <[email protected]> Missing HeapFree's + 1 LocalFree (found by smatch). svn path=/trunk/; revision=12930
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user