Closed Bug 210727 Opened 21 years ago Closed 21 years ago

[xft] leak in nsFontMetricsXft::PrepareToDraw

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dwitte, Assigned: dwitte)

Details

(Keywords: memory-leak)

Attachments

(1 file)

Patch forthcoming.

g_malloc
nsFontMetricsXft::PrepareToDraw(nsRenderingContextGTK*, nsDrawingSurfaceGTK*,
_XftDraw**, _XftColor&)
nsFontMetricsXft::DrawString(char const*, unsigned, int, int, int const*,
nsRenderingContextGTK*, nsDrawingSurfaceGTK*)
nsRenderingContextGTK::DrawString(char const*, unsigned, int, int, int const*)
nsTextFrame::PaintAsciiText(nsIPresContext*, nsIRenderingContext&,
nsStyleContext*, nsTextFrame::TextStyle&, int, int)
nsTextFrame::Paint(nsIPresContext*, nsIRenderingContext&, nsRect const&,
nsFramePaintLayer, unsigned)
nsContainerFrame::PaintChild(nsIPresContext*, nsIRenderingContext&, nsRect
const&, nsIFrame*, nsFramePaintLayer, unsigned)
nsBlockFrame::PaintChildren(nsIPresContext*, nsIRenderingContext&, nsRect
const&, nsFramePaintLayer, unsigned)
nsHTMLContainerFrame::PaintDecorationsAndChildren(nsIPresContext*,
nsIRenderingContext&, nsRect const&, nsFramePaintLayer, int, unsigned)
nsBlockFrame::Paint(nsIPresContext*, nsIRenderingContext&, nsRect const&,
nsFramePaintLayer, unsigned)
Attached patch patchSplinter Review
Comment on attachment 126521 [details] [diff] [review]
patch

another easy one.
Attachment #126521 - Flags: superreview?(blizzard)
Attachment #126521 - Flags: review?(blizzard)
Component: GFX: Xlib → GFX: Gtk
QA Contact: timeless → ian
Comment on attachment 126521 [details] [diff] [review]
patch

r+sr=blizzard
Attachment #126521 - Flags: superreview?(blizzard)
Attachment #126521 - Flags: superreview+
Attachment #126521 - Flags: review?(blizzard)
Attachment #126521 - Flags: review+
fixed - thx!
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: