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
2b54cb54
Commit
2b54cb54
authored
Sep 18, 2012
by
Jörg Höhle
Committed by
Alexandre Julliard
Oct 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciseq: Fix memory leak when MCI_OPEN fails.
parent
1c30b894
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mcimidi.c
dlls/mciseq/mcimidi.c
+4
-0
No files found.
dlls/mciseq/mcimidi.c
View file @
2b54cb54
...
...
@@ -797,6 +797,10 @@ static DWORD MIDI_mciOpen(WINE_MCIMIDI* wmm, DWORD dwFlags, LPMCI_OPEN_PARMSW lp
if
(
wmm
->
hFile
!=
0
)
mmioClose
(
wmm
->
hFile
,
0
);
wmm
->
hFile
=
0
;
HeapFree
(
GetProcessHeap
(),
0
,
wmm
->
tracks
);
HeapFree
(
GetProcessHeap
(),
0
,
wmm
->
lpstrElementName
);
HeapFree
(
GetProcessHeap
(),
0
,
wmm
->
lpstrCopyright
);
HeapFree
(
GetProcessHeap
(),
0
,
wmm
->
lpstrName
);
}
else
{
wmm
->
dwPositionMS
=
0
;
wmm
->
dwStatus
=
MCI_MODE_STOP
;
...
...
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