| 
      
      
      From: Dan E. <Dan...@ne...> - 2006-07-31 13:02:08
      
     | 
| Hi, We've detected a memory leak which seems to have crept into libusb not long ago. It looks like it's in usb_os_determine_children which used to have an empty body, but now does some mallocs. I can't see where these are ever freed, so if you call usb_find_devices more than once you get a memory leak. Is this correct? I also can't see how buses are successfully freed upon discovery that they are no longer there, but this is a very rare occurrence, whereas scanning the bus for new devices happens quite often. Dan Ellis |