]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Fix memory leak in master_fwd_thread.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Thu, 13 Jan 2022 09:18:00 +0000 (18:18 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 14 Jan 2022 14:10:55 +0000 (23:10 +0900)
commit4f490c4cef8fd527642dbb5ea5373b373193a49b
treeb4d7c7a6b2eea901ba689822c39afe2f1cd77cab
parentaa49985245e4e5b278778b0a47f6ce83cceb4ad4
Cygwin: pty: Fix memory leak in master_fwd_thread.

- If master_fwd_thread is terminated by cygthread::terminate_thread(),
  the opportunity to release tmp_pathbuf is missed, resulting in a
  memory leak. This patch fixes the issue.
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/tty.cc
winsup/cygwin/tty.h
This page took 0.029011 seconds and 5 git commands to generate.