summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-11-08 01:29:27 +0000
committerjsorg71 <jsorg71>2005-11-08 01:29:27 +0000
commit6237ca87ca707bb69a267eb0f1182ba03683addf (patch)
treebff8295bcab75f0e6923b7f98e4fbfca9c824e73
parentb6f36404b5eaf40a4c8bee2c98df3ef492780f48 (diff)
downloadxrdp-proprietary-6237ca87ca707bb69a267eb0f1182ba03683addf.tar.gz
xrdp-proprietary-6237ca87ca707bb69a267eb0f1182ba03683addf.zip
gota close socket
-rw-r--r--rdp/rdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rdp/rdp.c b/rdp/rdp.c
index 4126e7d0..0f8dc540 100644
--- a/rdp/rdp.c
+++ b/rdp/rdp.c
@@ -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;
}