Hi @wolfcod, Thanks for your PR!
I'm just gonna add some description to your proposed fix.
Issue
Inside the function request_sys_config_sysinfo is present a NetWkstaGetInfo function call. As stated in the documentation, after using the out buffer, the NetApiBufferFree should be called on the buffer in order to be freed.
The proposed fix resolves the memory leak.
Hi @wolfcod, Thanks for your PR! I'm just gonna add some description to your proposed fix.
Issue
Inside the function
request_sys_config_sysinfo
is present a NetWkstaGetInfo function call. As stated in the documentation, after using the out buffer, theNetApiBufferFree
should be called on the buffer in order to be freed. The proposed fix resolves the memory leak.