From: Michael Snyder Date: Sun, 27 Feb 2011 21:41:26 +0000 (+0000) Subject: 2011-02-26 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69d371133c9dfbdcf30e91a2aa44e7f191dff09c;p=binutils-gdb.git 2011-02-26 Michael Snyder * linux-low.c (list_threads): Call closedir for dirent. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2a384db304a..1aaf401006c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2011-02-26 Michael Snyder + + * linux-low.c (list_threads): Call closedir for dirent. + 2011-02-27 Michael Snyder * i386-low.c (i386-length_and_rw_bits): Comment the fact that diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 7b8eba777c2..81b8540606a 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -4518,6 +4518,7 @@ list_threads (int pid, struct buffer *buffer, char **cores) } } } + closedir (dir); } if (cores)