Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6482 closed (invalid)

Prevent file descriptor leaks

Reported by: Bastian Kleineidam <calvin@…> Owned by: nobody
Component: Uncategorized Version: dev
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

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@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Bastian Kleineidam <calvin@…>, 17 years ago

comment:1 by Thomas Güttler, 17 years ago

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