Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#6482 closed (invalid)

Prevent file descriptor leaks

Reported by: Bastian Kleineidam <calvin@…> Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Wrap all opened files in try-finally blocks and close the
descriptors.

Attachments (1)

0007-Prevent-file-descriptor-leaks.patch (21.1 KB) - added by Bastian Kleineidam <calvin@…> 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Bastian Kleineidam <calvin@…>

comment:1 Changed 9 years ago by Thomas Güttler

Resolution: invalid
Status: newclosed

I think this is not necessary. If the reference counter goes down to zero the file descriptor
will be closed.

Note: See TracTickets for help on using tickets.
Back to Top