projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e699646
)
Sync cabinet.dll with Wine HEAD (fixes a memory leak)
author
Colin Finck
<colin@reactos.org>
Fri, 5 Sep 2008 19:58:49 +0000
(19:58 +0000)
committer
Colin Finck
<colin@reactos.org>
Fri, 5 Sep 2008 19:58:49 +0000
(19:58 +0000)
svn path=/trunk/; revision=35965
reactos/dll/win32/cabinet/cabinet_main.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/cabinet/cabinet_main.c
b/reactos/dll/win32/cabinet/cabinet_main.c
index
7ebe63c
..
35810e3
100644
(file)
--- a/
reactos/dll/win32/cabinet/cabinet_main.c
+++ b/
reactos/dll/win32/cabinet/cabinet_main.c
@@
-338,7
+338,10
@@
HRESULT WINAPI Extract(SESSION *dest, LPCSTR szCabName)
return E_FAIL;
if (GetFileAttributesA(dest->Destination) == INVALID_FILE_ATTRIBUTES)
- return S_OK;
+ {
+ res = S_OK;
+ goto end;
+ }
/* split the cabinet name into path + name */
str = HeapAlloc(GetProcessHeap(), 0, lstrlenA(szCabName)+1);