summaryrefslogtreecommitdiff
path: root/trans/remap.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-06-03 16:55:55 +0200
committerJustus Winter <justus@gnupg.org>2016-06-04 16:12:27 +0200
commita8b8ece4ff36fca27492f0a4e925e2f4453ee483 (patch)
treef14b7a850092317806c5e1df716fba2d985bb55a /trans/remap.c
parentdd93fc4bfbaceb65ded2aefca35042438c95f4d5 (diff)
trans/crash: fix resource leaks
Previously, 'task', 'core_file', and 'ctty_id' were not deallocated if crash was configured to write core files, and 'ctty_id' was leaked if the crashing task was suspended. This lead to resources not being released in the kernel, the filesystem, and the terminal subsystem, and could very well be responsible for making the Debian/Hurd shutdown hang. * trans/crash.c (S_crash_dump_task): Properly deallocate 'task', 'core_file', and 'ctty_id'.
Diffstat (limited to 'trans/remap.c')
0 files changed, 0 insertions, 0 deletions