pango r2623 - in trunk: . pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2623 - in trunk: . pango
- Date: Sat, 3 May 2008 17:26:19 +0100 (BST)
Author: behdad
Date: Sat May 3 16:26:18 2008
New Revision: 2623
URL: http://svn.gnome.org/viewvc/pango?rev=2623&view=rev
Log:
2008-05-03 Behdad Esfahbod <behdad gnome org>
Bug 531242 â Leak when calculating win32 font coverage
Patch from Daniel Atallah
* pango/pangowin32.c (pango_win32_font_calc_coverage): Plug leak.
Modified:
trunk/ChangeLog
trunk/pango/pangowin32.c
Modified: trunk/pango/pangowin32.c
==============================================================================
--- trunk/pango/pangowin32.c (original)
+++ trunk/pango/pangowin32.c Sat May 3 16:26:18 2008
@@ -1709,10 +1709,15 @@
guint32 i;
PangoWin32CoverageLanguageClass cjkv;
gboolean hide_unihan = FALSE;
+ PangoFontDescription *desc;
+ gchar *name;
- PING(("font:%s lang:%s",
- pango_font_description_to_string (pango_font_describe (font)),
+ desc = pango_font_describe (font);
+ name = pango_font_description_to_string (desc);
+ PING(("font:%s lang:%s", name,
pango_language_to_string (lang)));
+ g_free (name);
+ pango_font_description_free (desc);
if (win32font->win32face->has_cmap)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]