diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-11-10 16:36:18 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-11-10 16:36:18 +0000 |
commit | 0a86f36427b729c3b7dfa5a9142848db9877ddc0 (patch) | |
tree | f8db270640cc485aa265cdb6a6c2a7172e29f129 /README | |
parent | 9bc118a5d44548773b26f6a7f186f14009f00786 (diff) | |
download | binutils-0a86f36427b729c3b7dfa5a9142848db9877ddc0.zip binutils-0a86f36427b729c3b7dfa5a9142848db9877ddc0.tar.gz binutils-0a86f36427b729c3b7dfa5a9142848db9877ddc0.tar.bz2 |
[procfs] /proc/.../map file descriptor leak
When opening the procfs map file, we create a cleanup routine to make
sure that the associated file descriptor gets closed, but we never
call the cleanup. So the FD gets leaked.
gdb/ChangeLog:
* procfs.c (iterate_over_mappings): Call do_cleanups before
returning.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions