[PATCH wayland v2] scanner: Close input resource when done to prevent leak

Pekka Paalanen ppaalanen at gmail.com
Fri Oct 2 00:18:10 PDT 2015


On Thu,  1 Oct 2015 18:13:29 -0700
Bryce Harrington <bryce at osg.samsung.com> wrote:

> Addresses this error reported by Denis Denisov:
> 
>   [src/scanner.c:1415]: (error) Resource leak: input
> 
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> 
> v2: Also close input for other exit points in main.
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>

Acked-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

And by that I mean looks fine but didn't carefully review. Feel free to
land.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151002/d08561d1/attachment.sig>


More information about the wayland-devel mailing list