Re: Very small Pango patch
- From: Owen Taylor <otaylor redhat com>
- To: Zack Rusin <zackrat att net>
- Cc: gtk-devel-list gnome org
- Subject: Re: Very small Pango patch
- Date: Wed, 16 Jan 2002 09:27:21 -0500 (EST)
Zack Rusin <zackrat att net> writes:
> Hi,
>
> I've spent some time today looking at libgnomecanvas. While profiling the
> demo I've found a leak in Pango. It's actually quite subtle. In
> libgnomecanvas a PangoFontDescription is allocated and freed through
> pango_font_description_from_string (in gnome_canvas_text_set_property) and
> pango_font_description_free respectively. The description_free function
> checks the static_family variable before freeing the family_name, now, the
> description_from_string doesn't initialize that variable due to which
> sometimes it leaks (and sometimes it doesn't ;) ). So here's the nobrainer
> type of patch.
Fix is in CVS now. Thanks,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]