diff options
author | jsorg71 <jay.sorg@gmail.com> | 2013-10-30 22:08:18 -0700 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2013-10-30 22:08:18 -0700 |
commit | f51f9ce679656f576c74fd9d4e62cf67c9f16c1d (patch) | |
tree | 5a6bc4d5396bee6a42d9a2583900357fef11ebdf /libxrdp/xrdp_mcs.c | |
parent | 7a484c1a7926ba7230bae19d501de7ddd129395c (diff) | |
parent | 5591c19b3f158d637a3f767ef1c39b9cc4463304 (diff) | |
download | xrdp-proprietary-f51f9ce679656f576c74fd9d4e62cf67c9f16c1d.tar.gz xrdp-proprietary-f51f9ce679656f576c74fd9d4e62cf67c9f16c1d.zip |
Merge pull request #7 from speidy/master
libxrdp: work on multimon
Diffstat (limited to 'libxrdp/xrdp_mcs.c')
-rw-r--r-- | libxrdp/xrdp_mcs.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libxrdp/xrdp_mcs.c b/libxrdp/xrdp_mcs.c index 86212bb1..c145158c 100644 --- a/libxrdp/xrdp_mcs.c +++ b/libxrdp/xrdp_mcs.c @@ -38,7 +38,6 @@ xrdp_mcs_create(struct xrdp_sec *owner, struct trans *trans, self->server_mcs_data = server_mcs_data; self->iso_layer = xrdp_iso_create(self, trans); self->channel_list = list_create(); - self->monitor_list = list_create(); DEBUG((" out xrdp_mcs_create")); return self; } @@ -48,7 +47,6 @@ void APP_CC xrdp_mcs_delete(struct xrdp_mcs *self) { struct mcs_channel_item *channel_item; - struct mcs_monitor_item *monitor_item; int index; int count; @@ -69,18 +67,6 @@ xrdp_mcs_delete(struct xrdp_mcs *self) list_delete(self->channel_list); - /* here we have to free the monitor items and anything in them */ - count = self->monitor_list->count; - - for (index = count - 1; index >= 0; index--) - { - monitor_item = (struct mcs_monitor_item *) - list_get_item(self->monitor_list, index); - g_free(monitor_item); - } - - list_delete(self->monitor_list); - xrdp_iso_delete(self->iso_layer); /* make sure we get null pointer exception if struct is used again. */ DEBUG(("xrdp_mcs_delete processed")) |