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
67963a76
Commit
67963a76
authored
Dec 07, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: Fix some memory leaks.
Found by Valgrind.
parent
952cd1d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
asmname.c
dlls/fusion/asmname.c
+5
-0
asmenum.c
dlls/fusion/tests/asmenum.c
+2
-0
No files found.
dlls/fusion/asmname.c
View file @
67963a76
...
...
@@ -471,6 +471,11 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
done:
HeapFree
(
GetProcessHeap
(),
0
,
save
);
if
(
FAILED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
name
->
displayname
);
HeapFree
(
GetProcessHeap
(),
0
,
name
->
name
);
}
return
hr
;
}
...
...
dlls/fusion/tests/asmenum.c
View file @
67963a76
...
...
@@ -209,6 +209,8 @@ static void test_CreateAssemblyEnum(void)
ok
(
hr
==
E_INVALIDARG
,
"Expected E_INVALIDARG, got %08x
\n
"
,
hr
);
ok
(
asmenum
==
(
IAssemblyEnum
*
)
0xdeadbeef
,
"Expected asmenum to be unchanged, got %p
\n
"
,
asmenum
);
IAssemblyName_Release
(
asmname
);
}
typedef
struct
_tagASMNAME
...
...
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