Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d7469607
Commit
d7469607
authored
Aug 11, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invalid pointer usage after free (vout).
It closes #3999.
parent
530fe3e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/video_output/video_output.c
src/video_output/video_output.c
+3
-3
No files found.
src/video_output/video_output.c
View file @
d7469607
...
...
@@ -1048,9 +1048,6 @@ static int ThreadStart(vout_thread_t *vout, const vout_display_state_t *state)
static
void
ThreadStop
(
vout_thread_t
*
vout
,
vout_display_state_t
*
state
)
{
/* Destroy the video filters2 */
filter_chain_Delete
(
vout
->
p
->
filter
.
chain
);
/* Destroy translation tables */
if
(
vout
->
p
->
display
.
vd
)
{
if
(
vout
->
p
->
decoder_pool
)
{
...
...
@@ -1060,6 +1057,9 @@ static void ThreadStop(vout_thread_t *vout, vout_display_state_t *state)
vout_CloseWrapper
(
vout
,
state
);
}
/* Destroy the video filters2 */
filter_chain_Delete
(
vout
->
p
->
filter
.
chain
);
if
(
vout
->
p
->
decoder_fifo
)
picture_fifo_Delete
(
vout
->
p
->
decoder_fifo
);
assert
(
!
vout
->
p
->
decoder_pool
);
...
...
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