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
5497a41e
Commit
5497a41e
authored
Apr 10, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a leak on error path (Coverity).
parent
0bcf4a5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
source.c
dlls/msi/source.c
+1
-1
No files found.
dlls/msi/source.c
View file @
5497a41e
...
@@ -1153,7 +1153,7 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid,
...
@@ -1153,7 +1153,7 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid,
list_init
(
&
sourcelist
);
list_init
(
&
sourcelist
);
rc
=
fill_source_list
(
&
sourcelist
,
typekey
,
&
count
);
rc
=
fill_source_list
(
&
sourcelist
,
typekey
,
&
count
);
if
(
rc
!=
ERROR_NO_MORE_ITEMS
)
if
(
rc
!=
ERROR_NO_MORE_ITEMS
)
return
rc
;
goto
done
;
size
=
(
lstrlenW
(
source
)
+
1
)
*
sizeof
(
WCHAR
);
size
=
(
lstrlenW
(
source
)
+
1
)
*
sizeof
(
WCHAR
);
...
...
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