﻿id	summary	reporter	owner	description	type	status	milestone	component	resolution	keywords	cc	blockedby	blocking
136	libusb_free_device_list(, 1) memory leak	pilatuz	hjelmn	"simple device enumeration method causes memory leak on MAC OS X:


 {{{
 while (1)
 {
  libusb_device **list = 0;
  ssize_t N = libusb_get_device_list(NULL, &list);
  printf(""%ld\n"", long(N));
  libusb_free_device_list(list, 1);
  usleep(10000*(N+1));
 }
 }}}


 The MAC OS X version is 10.6.2


 Actually, I've tried:
  - FTDI D2XX library (which uses libusb-1.0.8)
  - libusb (from master branch)
  - libusbx (from master branch)

 The result is the same: memory leak about 300K per second.
 The exactly same code works fine on Linux."	defect	closed	1.0.10	libusb-1.0 Darwin backend	invalid	darwin memory leak			
