Closed Bug 306933 Opened 20 years ago Closed 20 years ago

Do not leak xslt object when using doxygen template

Categories

(developer.mozilla.org Graveyard :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Assigned: Callek)

Details

Attachments

(1 file)

any call to xslt_create to generate a resource should also xslt_free it, so as not to potentially cause excessive memory use during a running session of php.
correct summary typo...
Summary: Do not link xslt object when using doxygen template → Do not leak xslt object when using doxygen template
call xslt_free before return of hooked function.
Attachment #194747 - Flags: review?(shaver)
Comment on attachment 194747 [details] [diff] [review] call xslt_free before return I can't believe it doesn't clean that up itself when the script terminates! r=shaver, thanks.
Attachment #194747 - Flags: review?(shaver) → review+
Patch checked in, thanks to timeless. Leaving bug open until "live" version of this extension is updated. Work for polvi or shaver.
Patch is live...
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: developer.mozilla.org → Infrastructure
Flags: review+
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
Attachment #194747 - Flags: review+
Component: Deki Infrastructure → Other
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: