mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed memory leak.
This commit is contained in:
parent
17f7791c02
commit
b56c25a972
1 changed files with 1 additions and 0 deletions
|
|
@ -546,6 +546,7 @@ static int l_sendto (lua_State *L)
|
|||
|
||||
nsock_sendto(nsp, nu->nsiod, callback, nu->timeout, nu, dest->ai_addr, dest->ai_addrlen, port, string, size);
|
||||
trace(nu->nsiod, hexify((unsigned char *) string, size).c_str(), TO);
|
||||
freeaddrinfo(dest);
|
||||
return yield(L, nu, "SEND", TO, 0, NULL);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue