[pango/wip/baedert/for-master2: 16/17] layout: Unconditionally unref attr lists
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/baedert/for-master2: 16/17] layout: Unconditionally unref attr lists
- Date: Mon, 8 Jun 2020 17:22:27 +0000 (UTC)
commit 9b7b67f5e01397de03bf46bb5f8446c30952fb33
Author: Timm Bäder <mail baedert org>
Date: Fri Apr 17 20:23:09 2020 +0200
layout: Unconditionally unref attr lists
pango/pango-layout.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 07a32664..11e14418 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4411,11 +4411,8 @@ pango_layout_check_lines (PangoLayout *layout)
_pango_attr_iterator_destroy (&iter);
}
- if (shape_attrs)
- pango_attr_list_unref (shape_attrs);
-
- if (attrs)
- pango_attr_list_unref (attrs);
+ pango_attr_list_unref (shape_attrs);
+ pango_attr_list_unref (attrs);
}
#pragma GCC diagnostic pop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]