Bug 1006

Summary: [PENDING] pkg-config leaks file descriptors
Product: pkg-config Reporter: Thomas Klausner <tk>
Component: srcAssignee: Scott James Remnant <scott>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch that fixes the file descriptor leak.

Description Thomas Klausner 2004-08-07 05:11:12 UTC
pkg-config-0.15.0 does not close the files it opens. Eventually, it runs against
the limit for concurrently opened files and fails.

The problem is in parse.c:parse_package_file; every file is fopen()ed, but none
is fclose()d.
Comment 1 Thomas Klausner 2004-08-07 05:11:56 UTC
Created attachment 585 [details] [review]
Patch that fixes the file descriptor leak.
Comment 2 Tollef Fog Heen 2005-02-21 00:10:21 UTC
Fixed in CVS.
Comment 3 Tollef Fog Heen 2005-03-28 08:07:26 UTC
pkgconfig 0.16 has been released and contains a fix for this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.