nsSVGFEConvolveMatrixElement::Filter mixes "new[]" with "delete"

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Jesse Ruderman, Assigned: Jesse Ruderman)

Tracking

({regression, testcase, valgrind})

Trunk
x86
Mac OS X
regression, testcase, valgrind
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 384951 [details] [diff] [review]
patch: use nsAutoArrayPtr instead of nsAutoPtr

Identified using:

valgrind --auto-run-dsymutil=yes ~/central/debug-obj/dist/MinefieldDebug.app/Contents/MacOS/firefox-bin -P vgrind ~/central/layout/reftests/svg/filters/feConvolveMatrix-2.svg

"Mismatched free() / delete / delete []"

This patch simply undoes one of roc's changes in bug 416305, which I'm guessing was accidental.
Flags: in-testsuite+
Attachment #384951 - Flags: review?(roc)
(Assignee)

Comment 1

9 years ago
http://hg.mozilla.org/mozilla-central/rev/4ff7b703e506
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.