g_term_event is a wait object, not TCP socket, delete it correctly

master
Pavel Roskin 8 years ago
parent 931fb90832
commit f7c27f05cf

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

Loading…
Cancel
Save