Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Jean-Baptiste Kempf
vlc
Commits
17494bc4
Commit
17494bc4
authored
Apr 26, 2018
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
png: encoder: fix leak (CID 1435159)
Regression from
7442c8c7
parent
79afb971
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/codec/png.c
modules/codec/png.c
+1
-2
No files found.
modules/codec/png.c
View file @
17494bc4
...
...
@@ -338,8 +338,7 @@ static int OpenEncoder(vlc_object_t *p_this)
/* Allocate the memory needed to store the encoder's structure */
encoder_sys_t
*
p_sys
=
malloc
(
sizeof
(
encoder_sys_t
)
);
p_enc
->
p_sys
=
malloc
(
sizeof
(
encoder_sys_t
)
);
if
(
p_enc
->
p_sys
==
NULL
)
if
(
p_sys
==
NULL
)
return
VLC_ENOMEM
;
p_enc
->
p_sys
=
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