mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +00:00
pango: Remove extra pango_attr_list_copy() from basetextoverlay
Fixes a per-buffer memory leak of the attribute list.
This commit is contained in:
parent
dce49a1a7e
commit
2528baf2c2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue