Closed Bug 1527939 Opened 7 months ago Closed 7 months ago

Fix the leak on profiler_register_page log message

Categories

(Core :: Gecko Profiler, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: canaltinova, Assigned: canaltinova)

Details

Attachments

(1 file)

It looks like we are leaking memory on the log message inside profiler_register_page function because we are not properly freeing the string generated from nsID::ToString. We should use nsIDToCString helper class instead.

Pushed by canaltinova@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b39035332029
Fix the leak on the log message inside profiler_register_page r=mstange
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.