Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
82e52ea8
Commit
82e52ea8
authored
May 14, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak in mosaic bridge
parent
4cc4c675
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/stream_out/mosaic_bridge.c
modules/stream_out/mosaic_bridge.c
+3
-1
No files found.
modules/stream_out/mosaic_bridge.c
View file @
82e52ea8
...
...
@@ -483,13 +483,14 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
p_sys
->
p_decoder
!=
NULL
)
{
picture_t
**
pp_ring
=
p_sys
->
p_decoder
->
p_owner
->
pp_pics
;
decoder_owner_sys_t
*
p_owner
=
p_sys
->
p_decoder
->
p_owner
;
if
(
p_sys
->
p_decoder
->
p_module
)
module_Unneed
(
p_sys
->
p_decoder
,
p_sys
->
p_decoder
->
p_module
);
vlc_object_detach
(
p_sys
->
p_decoder
);
vlc_object_release
(
p_sys
->
p_decoder
);
picture_t
**
pp_ring
=
p_owner
->
pp_pics
;
for
(
i
=
0
;
i
<
PICTURE_RING_SIZE
;
i
++
)
{
if
(
pp_ring
[
i
]
!=
NULL
)
...
...
@@ -499,6 +500,7 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
free
(
pp_ring
[
i
]
);
}
}
free
(
p_owner
);
}
/* Destroy user specified video filters */
...
...
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