gota close socket

This commit is contained in:
jsorg71 2005-11-08 01:29:27 +00:00
parent b6f36404b5
commit 6237ca87ca

View File

@ -209,6 +209,11 @@ lib_mod_end(struct mod* mod)
mod->rdp_layer = 0;
free_stream(mod->in_s);
mod->in_s = 0;
if (mod->sck != 0)
{
g_tcp_close(mod->sck);
mod->sck = 0;
}
return 0;
}