Closed Bug 335309 Opened 15 years ago Closed 15 years ago
File handle leak in XPCOMGlue
Load Dependent Libs (ns XPCOMGlue .cpp)
This was found through a coverity scan of the firefox source. Please refer to the sample URL. The function |XPCOMGlueLoadDependentLibs| calls |fopen| to open a dependent libs file at line 98, reads the file line-by-line, then returns without closing it.
Comment on attachment 219682 [details] [diff] [review] Close it up! I think you mean fclose(flist), right?
Attachment #219682 - Flags: review?(darin) → review-
Attachment #219709 - Flags: superreview?(benjamin) → superreview+
Whiteboard: [good first bug] → [checkin needed]
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
And on 1.8.1
Whiteboard: [checkin needed]
You need to log in before you can comment on or make changes to this bug.