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
f20218fa
Commit
f20218fa
authored
Sep 26, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split Freetype destruction from the main destruction
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
634111a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+13
-8
No files found.
modules/text_renderer/freetype.c
View file @
f20218fa
...
...
@@ -2402,6 +2402,18 @@ error:
return
VLC_EGENERIC
;
}
static
void
Destroy_FT
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
if
(
p_sys
->
p_stroker
)
FT_Stroker_Done
(
p_sys
->
p_stroker
);
FT_Done_Face
(
p_sys
->
p_face
);
FT_Done_FreeType
(
p_sys
->
p_library
);
}
/*****************************************************************************
* Destroy: destroy Clone video thread output method
*****************************************************************************
...
...
@@ -2428,13 +2440,6 @@ static void Destroy( vlc_object_t *p_this )
free
(
p_sys
->
psz_win_fonts_path
);
#endif
/* FcFini asserts calling the subfunction FcCacheFini()
* even if no other library functions have been made since FcInit(),
* so don't call it. */
if
(
p_sys
->
p_stroker
)
FT_Stroker_Done
(
p_sys
->
p_stroker
);
FT_Done_Face
(
p_sys
->
p_face
);
FT_Done_FreeType
(
p_sys
->
p_library
);
Destroy_FT
(
p_this
);
free
(
p_sys
);
}
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