pango: Remove extra pango_attr_list_copy() from basetextoverlay

Fixes a per-buffer memory leak of the attribute list.
This commit is contained in:
Jan Schmidt 2013-02-07 23:06:16 +11:00
parent dce49a1a7e
commit 2528baf2c2

View file

@ -1344,7 +1344,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay,
origin_attr =
pango_attr_list_ref (pango_layout_get_attributes (overlay->layout));
filtered_attr =
pango_attr_list_filter (pango_attr_list_copy (origin_attr),
pango_attr_list_filter (origin_attr,
gst_text_overlay_filter_foreground_attr, NULL);
cairo_save (cr);