This is going to be a harder one to fix. The reference held is an arrayref from Bugzilla::Bug->_bugs_in_order(). We can't weaken the reference to the bug objects or they will be freed immediately.
One solution would be to always allocate new objects for these methods. They are not called very often.
Component: General → Database
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Target Milestone: --- → Bugzilla 6.0
Version: Production → 4.2
You need to log in before you can comment on or make changes to this bug.