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
30dbe16a
Commit
30dbe16a
authored
Jul 14, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/X11: fix long-standing massive leak on error
parent
776fb1cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+4
-2
No files found.
modules/video_output/xcb/x11.c
View file @
30dbe16a
...
...
@@ -406,13 +406,15 @@ static picture_pool_t *Pool (vout_display_t *vd, unsigned requested_count)
break
;
}
}
xcb_flush
(
sys
->
conn
);
if
(
count
==
0
)
return
NULL
;
sys
->
pool
=
picture_pool_New
(
count
,
pic_array
);
/* TODO release picture resources if NULL */
xcb_flush
(
sys
->
conn
);
if
(
unlikely
(
sys
->
pool
==
NULL
))
while
(
count
>
0
)
picture_Release
(
pic_array
[
--
count
]);
return
sys
->
pool
;
}
...
...
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