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
6afa409d
Commit
6afa409d
authored
Nov 30, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: Fix leak on error path
parent
05e2ddbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
modules/text_renderer/freetype/fonts/win32.c
modules/text_renderer/freetype/fonts/win32.c
+0
-3
No files found.
modules/text_renderer/freetype/fonts/win32.c
View file @
6afa409d
...
...
@@ -598,10 +598,7 @@ char* Dummy_Select( filter_t *p_filter, const char* psz_font,
/* Get Windows Font folder */
char
*
psz_win_fonts_path
=
GetWindowsFontPath
();
if
(
asprintf
(
&
psz_fontname
,
"%s
\\
%s"
,
psz_win_fonts_path
,
psz_font
)
==
-
1
)
{
psz_fontname
=
NULL
;
return
NULL
;
}
free
(
psz_win_fonts_path
);
return
psz_fontname
;
...
...
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