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/linux-low.c | |
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/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |