[PATCH 2/5] __glXDRIscreenProbe: free screen when DRI2Connect fails, instead of leaking it

Keith Packard keithp at keithp.com
Mon Apr 8 11:24:47 PDT 2013


Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> Reported with other leaks found by cppcheck in bugzilla #50281
> https://bugs.freedesktop.org/show_bug.cgi?id=50281
>
> V2: goto existing error handler, instead of replicating more of it here
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130408/23f8764e/attachment-0001.pgp>


More information about the xorg-devel mailing list