If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Components.utils.import leaks memory if the file is not found

NEW
Unassigned

Status

()

Core
XPCOM
9 years ago
9 years ago

People

(Reporter: sid0, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

While writing the patch for bug 467116 (where a particular module existed only on Windows and Mac), it was found that Components.utils.import leaks memory when the module isn't found, increasing the leak count by approximately 90 KB on Linux. While that problem was worked around by including the file on Linux, it'd be nice to not leak at all on failure.

Filing under Linux, though this probably should be All/All.
You need to log in before you can comment on or make changes to this bug.