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
71118846
Commit
71118846
authored
Oct 24, 2015
by
Pierre Schweitzer
Committed by
Alexandre Julliard
Oct 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32.drv: Don't dereference a pointer after free.
Signed-off-by:
Pierre Schweitzer
<
pierre@reactos.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
005de9e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wavemap.c
dlls/msacm32.drv/wavemap.c
+1
-1
No files found.
dlls/msacm32.drv/wavemap.c
View file @
71118846
...
@@ -852,8 +852,8 @@ found:
...
@@ -852,8 +852,8 @@ found:
HeapFree
(
GetProcessHeap
(),
0
,
wim
);
HeapFree
(
GetProcessHeap
(),
0
,
wim
);
}
else
{
}
else
{
*
lpdwUser
=
(
DWORD_PTR
)
wim
;
*
lpdwUser
=
(
DWORD_PTR
)
wim
;
TRACE
(
"Ok (stream=%p)
\n
"
,
wim
->
hAcmStream
);
}
}
TRACE
(
"Ok (stream=%p)
\n
"
,
wim
->
hAcmStream
);
return
MMSYSERR_NOERROR
;
return
MMSYSERR_NOERROR
;
error:
error:
HeapFree
(
GetProcessHeap
(),
0
,
wim
);
HeapFree
(
GetProcessHeap
(),
0
,
wim
);
...
...
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