[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    Re: [Libusb-devel] [PATCH 10/37] Better cleanup on errors,
From:       Daniel Drake <dan () reactivated ! net>
Date:       2010-05-19 20:37:05
Message-ID: 4BF44BF1.8060902 () reactivated ! net
[Download RAW message or body]

Hi Michael,

Thanks for checking.

El 19/05/10 13:55, Michael Plante escribió:
> One other piece that appears to have been left out, maybe intentionally, was
> the
>
> usbi_remove_pollfd(ctx, ctx->ctrl_pipe[0]);
>
> line in the cleanup in usbi_io_init in io.c.  This seems to have the
> potential to leak a usbi_pollfd struct if
>
> r = usbi_add_pollfd(ctx, ctx->timerfd, POLLIN);

You're right. Fixed.

cheers
Daniel

------------------------------------------------------------------------------

_______________________________________________
Libusb-devel mailing list
Libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic