Opened 11 years ago

Closed 11 years ago

Last modified 11 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: no UI/UX: no


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

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

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

comment:1 Changed 11 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