[xft] leak in nsFontMetricsXft::PrepareToDraw

RESOLVED FIXED

Status

RESOLVED FIXED
15 years ago
10 years ago

People

(Reporter: dwitte, Assigned: dwitte)

Tracking

({memory-leak})

Trunk
x86
Linux
memory-leak

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

15 years ago
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)
(Assignee)

Comment 1

15 years ago
Created attachment 126521 [details] [diff] [review]
patch
(Assignee)

Comment 2

15 years ago
Comment on attachment 126521 [details] [diff] [review]
patch

another easy one.
Attachment #126521 - Flags: superreview?(blizzard)
Attachment #126521 - Flags: review?(blizzard)

Updated

15 years ago
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+
(Assignee)

Comment 4

15 years ago
fixed - thx!
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.