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
d0946955
Commit
d0946955
authored
Sep 09, 2020
by
Chao Long
Committed by
Alexandre Julliard
Sep 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix a memory leak (Valgrind).
Signed-off-by:
Chao Long
<
longchao@uniontech.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8a45561
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
actctx.c
dlls/ntdll/actctx.c
+5
-1
No files found.
dlls/ntdll/actctx.c
View file @
d0946955
...
...
@@ -2265,7 +2265,11 @@ static void parse_dependent_assembly_elem( xmlbuf_t *xmlbuf, struct actctx_loade
{
parse_assembly_identity_elem
(
xmlbuf
,
acl
->
actctx
,
&
ai
,
&
elem
);
/* store the newly found identity for later loading */
if
(
ai
.
arch
&&
!
wcscmp
(
ai
.
arch
,
wildcardW
))
ai
.
arch
=
strdupW
(
current_archW
);
if
(
ai
.
arch
&&
!
wcscmp
(
ai
.
arch
,
wildcardW
))
{
RtlFreeHeap
(
GetProcessHeap
(),
0
,
ai
.
arch
);
ai
.
arch
=
strdupW
(
current_archW
);
}
TRACE
(
"adding name=%s version=%s arch=%s
\n
"
,
debugstr_w
(
ai
.
name
),
debugstr_version
(
&
ai
.
version
),
debugstr_w
(
ai
.
arch
)
);
if
(
!
add_dependent_assembly_id
(
acl
,
&
ai
))
set_error
(
xmlbuf
);
...
...
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