Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cd579fd8
Commit
cd579fd8
authored
Aug 27, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo: fix memleak.
parent
a95457ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/video_filter/logo.c
modules/video_filter/logo.c
+4
-1
No files found.
modules/video_filter/logo.c
View file @
cd579fd8
...
...
@@ -629,13 +629,14 @@ static void LogoListLoad( vlc_object_t *p_this, logo_list_t *p_logo_list,
const
char
*
psz_filename
)
{
char
*
psz_list
;
/* the list: <logo>[,[<delay>[,[<alpha>]]]][;...] */
char
*
psz_original
;
unsigned
int
i
;
logo_t
*
p_logo
;
/* the parsing's result */
p_logo_list
->
i_counter
=
0
;
p_logo_list
->
i_next_pic
=
0
;
psz_list
=
strdup
(
psz_filename
);
psz_
original
=
psz_
list
=
strdup
(
psz_filename
);
if
(
!
psz_list
)
abort
();
...
...
@@ -699,6 +700,8 @@ static void LogoListLoad( vlc_object_t *p_this, logo_list_t *p_logo_list,
/* initialize so that on the first update it will wrap back to 0 */
p_logo_list
->
i_counter
=
p_logo_list
->
i_count
-
1
;
free
(
psz_original
);
}
/**
...
...
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