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
fa6bab98
Commit
fa6bab98
authored
Apr 01, 2007
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* backport [18958]
Fixed subtitle/osd memory leaks (subpicture_region_t->psz_text was not freed).
parent
175303c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+4
-0
No files found.
src/video_output/vout_subpictures.c
View file @
fa6bab98
...
...
@@ -325,6 +325,10 @@ void __spu_DestroyRegion( vlc_object_t *p_this, subpicture_region_t *p_region )
p_region
->
picture
.
pf_release
(
&
p_region
->
picture
);
if
(
p_region
->
fmt
.
p_palette
)
free
(
p_region
->
fmt
.
p_palette
);
if
(
p_region
->
p_cache
)
__spu_DestroyRegion
(
p_this
,
p_region
->
p_cache
);
if
(
p_region
->
psz_text
)
free
(
p_region
->
psz_text
);
//free( p_region->p_style ); FIXME --fenrir plugin does not allocate the memory for it. I think it might lead to segfault, video renderer can live longer than the decoder
free
(
p_region
);
}
...
...
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