From: Jon Trulson Date: Fri, 26 Dec 2014 22:54:08 +0000 (-0700) Subject: DtSvc: Coverity (memory corruption, moderate) X-Git-Tag: 2.2.3~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=48cfb46a97a0d7b4e575601f54f7e851a56481a5;p=oweals%2Fcde.git DtSvc: Coverity (memory corruption, moderate) --- diff --git a/cde/lib/DtSvc/DtEncap/pty.c b/cde/lib/DtSvc/DtEncap/pty.c index d1ba8a27..a570a01b 100644 --- a/cde/lib/DtSvc/DtEncap/pty.c +++ b/cde/lib/DtSvc/DtEncap/pty.c @@ -1016,7 +1016,6 @@ struct termios *SPC_Get_Current_Termio(void) spc_close(tty_fd); if(retval == ERROR) { - XeFree((void *)termio_struct); SPC_Error(SPC_Bad_tc_Call,(XeString)"tcgetattr"); /* Fall through and use default settings */