| 
      
      
      From: Stephan M. <ste...@we...> - 2006-08-08 16:25:55
      
     | 
| > I think that there may be a handle leak in usb_io_sync, shouldn't the > ol.hEvent always be closed regardless of the success of > GetOverlappedResult? I fixed this bug. > > It is also mildy irksome that the static _usb_busses doesn't get > destroyed on application exit, since it triggers memory leak detection > tools, but I don't suppose it's a big problem. This isn't a problem since the complete heap is automatically deallocated when the process/dll terminates. Anyway, I added some code (function _usb_deinit()) that deallocates the _usb_busses list when the dll gets unloaded. > > Dan. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000071 |