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
41a04cc0
Commit
41a04cc0
authored
Sep 08, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leaks.
parent
72faac0d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
events.c
dlls/msi/events.c
+4
-1
helpers.c
dlls/msi/helpers.c
+1
-0
No files found.
dlls/msi/events.c
View file @
41a04cc0
...
...
@@ -236,8 +236,11 @@ static UINT ControlEvent_SetTargetPath(MSIPACKAGE* package, LPCWSTR argument,
msi_dialog
*
dialog
)
{
LPWSTR
path
=
load_dynamic_property
(
package
,
argument
,
NULL
);
UINT
r
;
/* failure to set the path halts the executing of control events */
return
MSI_SetTargetPathW
(
package
,
argument
,
path
);
r
=
MSI_SetTargetPathW
(
package
,
argument
,
path
);
HeapFree
(
GetProcessHeap
(),
0
,
path
);
return
r
;
}
/*
...
...
dlls/msi/helpers.c
View file @
41a04cc0
...
...
@@ -276,6 +276,7 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
path
=
build_directory_name
(
2
,
check_path
,
NULL
);
if
(
strcmpiW
(
path
,
check_path
)
!=
0
)
MSI_SetPropertyW
(
package
,
cszTargetDir
,
path
);
HeapFree
(
GetProcessHeap
(),
0
,
check_path
);
}
else
{
...
...
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