VUL: call libxrdp_disconnect if libxrdp_process_incomming fails

This commit is contained in:
Jay Sorg 2013-09-10 16:09:19 -07:00
parent 31c5a30a9b
commit 06d92b787a

View File

@ -203,6 +203,9 @@ xrdp_process_main_loop(struct xrdp_process *self)
else
{
g_writeln("xrdp_process_main_loop: libxrdp_process_incomming failed");
/* this will try to send a disconnect,
maybe should check that connection got far enough */
libxrdp_disconnect(self->session);
}
/* Run end in module */
xrdp_process_mod_end(self);