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
43cde503
Commit
43cde503
authored
Mar 06, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix massive leak when --vout-filter or --vout module_Need fails
parent
1168cbcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/video_output/video_output.c
src/video_output/video_output.c
+5
-1
No files found.
src/video_output/video_output.c
View file @
43cde503
...
@@ -487,6 +487,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
...
@@ -487,6 +487,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
if
(
p_vout
->
p_module
==
NULL
)
if
(
p_vout
->
p_module
==
NULL
)
{
{
msg_Err
(
p_vout
,
"no suitable vout module"
);
msg_Err
(
p_vout
,
"no suitable vout module"
);
spu_Attach
(
p_vout
->
p_spu
,
p_vout
,
false
);
spu_Destroy
(
p_vout
->
p_spu
);
p_vout
->
p_spu
=
NULL
;
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
return
NULL
;
return
NULL
;
}
}
...
@@ -583,6 +586,7 @@ static void vout_Destructor( vlc_object_t * p_this )
...
@@ -583,6 +586,7 @@ static void vout_Destructor( vlc_object_t * p_this )
assert
(
!
p_vout
->
p_module
);
assert
(
!
p_vout
->
p_module
);
/* */
/* */
if
(
p_vout
->
p_spu
)
spu_Destroy
(
p_vout
->
p_spu
);
spu_Destroy
(
p_vout
->
p_spu
);
/* Destroy the locks */
/* Destroy the locks */
...
...
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