2008-10-06 Behdad Esfahbod <behdad@gnome.org>
Bug 555219 – Memory leak when using pango_layout_iter_copy
Patch from Falk Rohsiepe
* pango/pango-layout.c (pango_layout_iter_copy): Use gslice, not
memdup. Oops!
svn path=/trunk/; revision=2726
+2008-10-06 Behdad Esfahbod <behdad@gnome.org>
+
+ Bug 555219 – Memory leak when using pango_layout_iter_copy
+ Patch from Falk Rohsiepe
+
+ * pango/pango-layout.c (pango_layout_iter_copy): Use gslice, not
+ memdup. Oops!
+
2008-09-29 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
for (l = iter->line_extents; l; l = l->next)
{
new->line_extents = g_slist_prepend (new->line_extents,
- g_memdup (l->data,
- sizeof (Extents)));
+ g_slice_dup (Extents, l->data));
if (l == iter->line_extents_link)
new->line_extents_link = new->line_extents;
}