projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce49a1
)
pango: Remove extra pango_attr_list_copy() from basetextoverlay
author
Jan Schmidt
<thaytan@noraisin.net>
Thu, 7 Feb 2013 12:06:16 +0000
(23:06 +1100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 7 Feb 2013 12:06:57 +0000
(23:06 +1100)
Fixes a per-buffer memory leak of the attribute list.
ext/pango/gstbasetextoverlay.c
patch
|
blob
|
history
diff --git
a/ext/pango/gstbasetextoverlay.c
b/ext/pango/gstbasetextoverlay.c
index 6a12ee6c1c85eaf5f07a48a62f29edfc8f904b9c..1667de6501752290e922cce31a8c8f7595276e4f 100644
(file)
--- a/
ext/pango/gstbasetextoverlay.c
+++ b/
ext/pango/gstbasetextoverlay.c
@@
-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);