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
be82d4c1
Commit
be82d4c1
authored
Jul 18, 2011
by
Can Wu
Committed by
Rémi Denis-Courmont
Jul 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vo/xcb: fix a memory leak in Open()
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
956ce11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+2
-1
No files found.
modules/video_output/xcb/xvideo.c
View file @
be82d4c1
...
@@ -300,10 +300,11 @@ FindFormat (vout_display_t *vd,
...
@@ -300,10 +300,11 @@ FindFormat (vout_display_t *vd,
static
int
Open
(
vlc_object_t
*
obj
)
static
int
Open
(
vlc_object_t
*
obj
)
{
{
vout_display_t
*
vd
=
(
vout_display_t
*
)
obj
;
vout_display_t
*
vd
=
(
vout_display_t
*
)
obj
;
vout_display_sys_t
*
p_sys
=
malloc
(
sizeof
(
*
p_sys
))
;
vout_display_sys_t
*
p_sys
;
if
(
!
var_InheritBool
(
obj
,
"overlay"
))
if
(
!
var_InheritBool
(
obj
,
"overlay"
))
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
p_sys
=
malloc
(
sizeof
(
*
p_sys
));
if
(
p_sys
==
NULL
)
if
(
p_sys
==
NULL
)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
...
...
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