Closed paalbra closed 5 years ago
Hi! Very nice project and application :)
I was looking through the code and found some apparently missing calls to NetApiBufferFree after calls to NetWkstaGetInfo and NetWkstaUserEnum.
NetApiBufferFree
NetWkstaGetInfo
NetWkstaUserEnum
I'm not really a trained .Net/C# developer, but I believe it's fine to add the NetApiBufferFree before return marshalled.computer_name; in Utils.cs?
return marshalled.computer_name;
This looks correct. Merging it
Hi! Very nice project and application :)
I was looking through the code and found some apparently missing calls to
NetApiBufferFree
after calls toNetWkstaGetInfo
andNetWkstaUserEnum
.I'm not really a trained .Net/C# developer, but I believe it's fine to add the
NetApiBufferFree
beforereturn marshalled.computer_name;
in Utils.cs?