Closed Bug 383580 Opened 18 years ago Closed 18 years ago

_cairo_quartz_surface_acquire_source_image leaks

Categories

(Core :: Graphics, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: memory-leak)

Attachments

(3 files)

STEPS TO REPRODUCE 1. setup suitable values for MallocStackLogging etc, see [1] 2. start Firefox 3. figure out its PID then run 'leaks PID' ACTUAL RESULTS Leaks, see attached log file. [1] http://developer.apple.com/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html
Flags: blocking1.9?
Hmm, so everyone that implements surface_acquire_source_image also has a matching surface_release_source_image, except cairo-quartz-surface.c
Attached patch fix?Splinter Review
DISCLAIMER: I really don't know this code but this patch makes the leaks disappear and Firefox haven't crashed so far...
Already fixed on cairo trunk by Boris Zbarsky http://gitweb.freedesktop.org/?p=cairo;a=commitdiff;h=fcdfda83655faf0eecbb2b5af09a05340fe422e6 I thought Boris' patch originated in minefield, but I guess not.
Depends on: 383960
Flags: blocking1.9? → blocking1.9+
Should be fixed by the cairo upgrade
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: