diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-27 21:41:26 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-27 21:41:26 +0000 |
commit | 69d371133c9dfbdcf30e91a2aa44e7f191dff09c (patch) | |
tree | af619674de7c3a84c86318b3e29bacc349bb33ea /gdb/gdbserver | |
parent | 2a589cef7917d96d8ed313c45909722a7dc9ec99 (diff) | |
download | gdb-69d371133c9dfbdcf30e91a2aa44e7f191dff09c.zip gdb-69d371133c9dfbdcf30e91a2aa44e7f191dff09c.tar.gz gdb-69d371133c9dfbdcf30e91a2aa44e7f191dff09c.tar.bz2 |
2011-02-26 Michael Snyder <msnyder@vmware.com>
* linux-low.c (list_threads): Call closedir for dirent.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2a384db..1aaf401 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2011-02-26 Michael Snyder <msnyder@vmware.com> + + * linux-low.c (list_threads): Call closedir for dirent. + 2011-02-27 Michael Snyder <msnyder@vmware.com> * 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 7b8eba7..81b8540 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) |