mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-14 17:37:27 +01:00
memory leak in request_sys_config_sysinfo
This commit is contained in:
parent
a86dc9db06
commit
4428531701
@ -776,6 +776,7 @@ DWORD request_sys_config_sysinfo(Remote *remote, Packet *packet)
|
||||
met_api->packet.add_tlv_string(response, TLV_TYPE_DOMAIN, (LPCSTR)domainName);
|
||||
met_api->packet.add_tlv_uint(response, TLV_TYPE_LOGGED_ON_USER_COUNT, localSysinfo->wki102_logged_on_users);
|
||||
free(domainName);
|
||||
NetApiBufferFree(localSysinfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user