Closed Bug 1370526 Opened 7 years ago Closed 7 years ago

[gfx/2d/ScaledFontMac.cpp:210]: (error) Mismatching allocation and deallocation: writeBuf::data

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

:ahal ran cppcheck on the tree in bug 1370292 and it turned up a bunch of stuff. Mostly false positives but this one looks real, the deletion of writeBuf::data should be a delete[] instead of a delete.
^ totally untested
Assignee: nobody → bugmail
Comment on attachment 8874833 [details]
Bug 1370526 - Fix new[]/delete mismatch.

https://reviewboard.mozilla.org/r/146226/#review150212
Attachment #8874833 - Flags: review?(jmuizelaar) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a8f6ea6d056
Fix new[]/delete mismatch. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/8a8f6ea6d056
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: