wodSSHDCom handle leak? - WeOnlyDo Discussion board

wodSSHDCom handle leak? (wodSSH / wodSSH.NET)

by David Lucas, Friday, October 05, 2012, 12:36 (1870 days ago)

We're currently in the process of tracking down memory and handle leaks in our application and we've noticed that there appears to be a handle leak when calling Start() and Stop() on wodSSHDCom.

Start() creates two handles named wodCmdTermDesktop , but Stop() only frees one of these handles. If you call Start() and Stop() in a loop you end up with several handle leaks (we don't actually do this, but it proves the case). We noticed this leak using SysInternals Process Explorer.


We're using version 2.2.7.358 of wodSSHD.dll (dated 29/12/2010), so I don't know if this has been fixed in a subsequent release.


Regards,

David Lucas
Data Track Technology


Complete thread: