Overview
| Artifact ID: | ccc8b4121c09d22ae5b9d99a82300f893ebe6352 |
|---|---|
| Ticket: | 983501ffffffffffffffffffffffffffffffffff
Resource leak in [pkgconfig] ? |
| User & Date: | dgp on 2004-07-01 15:51:45 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl_RegisterConfig() creates a [pkgconfig] command. Configuration values are stored in a dictionary, and the [pkgconfig] command provides read access to the dictionary. When the [pkgconfig] command is deleted from the interp, the dictionary of data remains, it is not freed until the interp is deleted. The elements of the dictionary may be freed as they are overwritten by a later call to Tcl_RegisterConfig() on the same interp. Besides an unbalanced cleanup, this also opens the possibility of having [pkgconfig] return data values that are a mixture of different Tcl_RegisterConfig() calls (possibly from multiple versions of the same package?). I think we want QueryConfigDelete() to clear the dictionary of data.
- foundin changed to: "obsolete: 8.5a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "54. Configuration Reporting"
- title changed to: "Resource leak in [pkgconfig] ?"
- type changed to: "Bug"