Author Topic: Handle leak while calling function BASS_StreamCreateFile  (Read 182 times)

ax_pokl

  • Guest
When I call BASS_StreamCreateFile function with flags of BASS_UNICODE, if the file is not a valid audio format, the function will return handle 0, which cannot be released by BASS_StreamFree. However in the task manager we can see the handle of the process keep increasing.

Ian @ un4seen

  • Administrator
  • Posts: 21987
Please upload a file that the problem is happening with to have a look at here:

   ftp.un4seen.com/incoming/

Is the problem only happening when you use the BASS_UNICODE flag, not when you don't? Also confirm what Windows version you're using and if you have any add-ons loaded via BASS_PluginLoad. If you do have any add-ons loaded, does the problem still happen if you don't load them?