critical memory leak in handle_events
authorDavid Engraf <david.engraf@netcom.eu>
Mon, 19 May 2008 14:13:38 +0000 (15:13 +0100)
committerDaniel Drake <dsd@gentoo.org>
Mon, 19 May 2008 14:13:38 +0000 (15:13 +0100)
commite44396a458ecea9e5edd9a7577e617571c76860d
tree65396bf6d0f60e7fb0f23de40728c8d11efa95b0
parenteb25630f52bc9848b444e439632c899977d887b0
critical memory leak in handle_events

This patch closes a critical memory leak in handle_events. The fds
variable is malloced but never freed. When I'm calling
handle_events with a timeout of 0, my system runs out of memory after a
few seconds.
libusb/io.c