mozIsPointInPath leaks CGPath objects

RESOLVED FIXED in mozilla19

Status

()

Core
Canvas: 2D
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: yury, Assigned: yury)

Tracking

Trunk
mozilla19
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

6 years ago
Looks like  PathCG::StrokeContainsPoint is missing destruction of the sPath object. See http://mxr.mozilla.org/mozilla-central/source/gfx/2d/PathCG.cpp#224

The example in the URL field stops working after 40-60 seconds of running.
(Assignee)

Comment 1

6 years ago
Created attachment 681803 [details] [diff] [review]
Patch to fix  PathCG::StrokeContainsPoint

https://tbpl.mozilla.org/?tree=Try&rev=9b41f294d3c7
Attachment #681803 - Flags: review?(jmuizelaar)
Attachment #681803 - Flags: review?(jmuizelaar) → review+
(Assignee)

Updated

6 years ago
Status: NEW → ASSIGNED
Keywords: checkin-needed

Comment 4

6 years ago
https://hg.mozilla.org/mozilla-central/rev/90c362bfd156
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.