[vlc-devel] [PATCH 8/8] video_output/xcb: fix memory-leak in ReleaseDrawable

Filip Roséen filip at atch.se
Fri Sep 23 15:57:23 CEST 2016


On 2016-09-23 15:52, Thomas Guillem wrote:

> Warning here:
> ../../modules/video_output/xcb/window.c: In function ‘ReleaseDrawable’:
> ../../modules/video_output/xcb/window.c:541:17: warning: comparison
> between pointer and integer
>     if (used[0] == NULL)

Oh snap, thanks for noticing that (not sure how I missed it)! See the
attached patch for an updated one without the warning. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160923/906ee654/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-video_output-xcb-fix-memory-leak-in-ReleaseDrawable.patch
Type: text/x-diff
Size: 1460 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160923/906ee654/attachment.patch>

More information about the vlc-devel mailing list