1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-08 06:26:33 +00:00

Fixed memory leak.

This commit is contained in:
henri
2012-08-04 16:05:24 +00:00
parent 17f7791c02
commit b56c25a972

View File

@@ -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);
}