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
525ceb70
Commit
525ceb70
authored
Jul 27, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix some memory leaks.
parent
6bd7451e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
msi.c
dlls/msi/msi.c
+1
-0
registry.c
dlls/msi/registry.c
+1
-0
No files found.
dlls/msi/msi.c
View file @
525ceb70
...
...
@@ -1440,6 +1440,7 @@ UINT WINAPI MSI_ProvideQualifiedComponentEx(LPCWSTR szComponent,
else
rc
=
MSI_GetComponentPath
(
szProduct
,
component
,
lpPathBuf
,
pcchPathBuf
);
msi_free
(
info
);
if
(
rc
!=
INSTALLSTATE_LOCAL
)
return
ERROR_FILE_NOT_FOUND
;
...
...
dlls/msi/registry.c
View file @
525ceb70
...
...
@@ -918,6 +918,7 @@ UINT WINAPI MSI_EnumComponentQualifiers( LPCWSTR szComponent, DWORD iIndex,
if
(
val_sz
>
val_max
)
{
val_max
=
val_sz
+
sizeof
(
WCHAR
);
msi_free
(
val
);
val
=
msi_alloc
(
val_max
*
sizeof
(
WCHAR
)
);
if
(
!
val
)
goto
end
;
...
...
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