Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5f08b9f7
Commit
5f08b9f7
authored
Mar 08, 2005
by
Ulrich Czekalla
Committed by
Alexandre Julliard
Mar 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a memory leak.
parent
f210c0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
action.c
dlls/msi/action.c
+3
-3
No files found.
dlls/msi/action.c
View file @
5f08b9f7
...
...
@@ -1892,7 +1892,7 @@ static INT load_folder(MSIPACKAGE *package, const WCHAR* dir)
0
};
UINT
rc
;
MSIQUERY
*
view
;
LPWSTR
targetdir
,
parent
,
srcdir
;
LPWSTR
ptargetdir
,
targetdir
,
parent
,
srcdir
;
MSIRECORD
*
row
=
0
;
INT
index
=
-
1
;
DWORD
i
;
...
...
@@ -1943,7 +1943,7 @@ static INT load_folder(MSIPACKAGE *package, const WCHAR* dir)
return
-
1
;
}
targetdir
=
load_dynamic_stringW
(
row
,
3
);
ptargetdir
=
targetdir
=
load_dynamic_stringW
(
row
,
3
);
/* split src and target dir */
if
(
strchrW
(
targetdir
,
':'
))
...
...
@@ -1987,7 +1987,7 @@ static INT load_folder(MSIPACKAGE *package, const WCHAR* dir)
package
->
folders
[
index
].
SourceDefault
=
dupstrW
(
srcdir
);
else
if
(
targetdir
)
package
->
folders
[
index
].
SourceDefault
=
dupstrW
(
targetdir
);
HeapFree
(
GetProcessHeap
(),
0
,
targetdir
);
HeapFree
(
GetProcessHeap
(),
0
,
p
targetdir
);
parent
=
load_dynamic_stringW
(
row
,
2
);
if
(
parent
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment