summaryrefslogtreecommitdiffstats
path: root/sesman/session.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-08-31 11:15:24 -0700
committerPavel Roskin <plroskin@gmail.com>2016-09-08 20:26:19 -0700
commitf7c27f05cfbe26357bbb943916b9a160faa5f529 (patch)
tree7c7c261efbdfa772eee937c58c8211c87fc9b0ef /sesman/session.c
parent931fb90832d791cb64a47bd4b6e8dea262f6b4a5 (diff)
downloadxrdp-proprietary-f7c27f05cfbe26357bbb943916b9a160faa5f529.tar.gz
xrdp-proprietary-f7c27f05cfbe26357bbb943916b9a160faa5f529.zip
g_term_event is a wait object, not TCP socket, delete it correctly
Diffstat (limited to 'sesman/session.c')
-rw-r--r--sesman/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/session.c b/sesman/session.c
index 298a5867..0e123607 100644
--- a/sesman/session.c
+++ b/sesman/session.c
@@ -484,7 +484,7 @@ session_start_fork(int width, int height, int bpp, char *username,
}
else if (pid == 0)
{
- g_tcp_close(g_term_event);
+ g_delete_wait_obj(g_term_event);
g_tcp_close(g_sck);
g_sprintf(geometry, "%dx%d", width, height);
g_sprintf(depth, "%d", bpp);