Closed
Bug 1081404
Opened 10 years ago
Closed 10 years ago
[Skia] Possible leak in |SkPictureRecorder::endRecording|
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: erahm, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, Whiteboard: [MemShrink:P3][CID 1244812])
In |SkPictureRecorder::endRecording| [1] |picture| can be assigned to once [2], and then assigned to again [3] thus leaking the original allocation. [1] http://hg.mozilla.org/mozilla-central/annotate/e4cfacb76830/gfx/skia/trunk/src/core/SkPictureRecorder.cpp#l58 [2] http://hg.mozilla.org/mozilla-central/annotate/e4cfacb76830/gfx/skia/trunk/src/core/SkPictureRecorder.cpp#l62 [3] http://hg.mozilla.org/mozilla-central/annotate/e4cfacb76830/gfx/skia/trunk/src/core/SkPictureRecorder.cpp#l68
Comment 1•10 years ago
|
||
It might be more worth while to report this upstream.
Reporter | ||
Comment 2•10 years ago
|
||
I can do that, but it's not clear to me what the official upstream skia repo is for us. Is it just https://github.com/google/skia ?
Flags: needinfo?(jmuizelaar)
Reporter | ||
Comment 3•10 years ago
|
||
FWIW this seems to have been fixed in the google version recently: https://github.com/google/skia/commit/8e12656096fceeed8b3cc4284d57dea04893b455
Comment 4•10 years ago
|
||
Upstream is https://code.google.com/p/skia/ and https://skia.googlesource.com/skia We'll get this fix next time we update skia.
Flags: needinfo?(jmuizelaar)
Comment 5•10 years ago
|
||
Sounds like we'll pick this up eventually without doing anything special.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Whiteboard: [MemShrink][CID 1244812] → [MemShrink:P3][CID 1244812]
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•