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
e3204e44
Commit
e3204e44
authored
Apr 26, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* [PATCH] Memory hole fix by Bernie Purcell
parent
ba04cf95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
modules/misc/freetype.c
modules/misc/freetype.c
+0
-3
modules/misc/quartztext.c
modules/misc/quartztext.c
+0
-3
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+2
-0
No files found.
modules/misc/freetype.c
View file @
e3204e44
...
...
@@ -1765,9 +1765,6 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
}
stream_Delete
(
p_sub
);
}
/* No longer need a HTML version of the text */
free
(
p_region_in
->
psz_html
);
p_region_in
->
psz_html
=
NULL
;
return
rv
;
}
...
...
modules/misc/quartztext.c
View file @
e3204e44
...
...
@@ -710,9 +710,6 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
}
stream_Delete
(
p_sub
);
}
// No longer need a HTML version of the text
free
(
p_region_in
->
psz_html
);
p_region_in
->
psz_html
=
NULL
;
return
rv
;
}
...
...
src/video_output/vout_subpictures.c
View file @
e3204e44
...
...
@@ -355,6 +355,8 @@ void __spu_DestroyRegion( vlc_object_t *p_this, subpicture_region_t *p_region )
if
(
p_region
->
psz_text
)
free
(
p_region
->
psz_text
);
if
(
p_region
->
psz_html
)
free
(
p_region
->
psz_html
);
//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