提交 8ffa528f 编写于 作者: B Behdad Esfahbod

Add note about unsafe shape_plan->face

Will fix by removing shape_plan->face completely.
上级 aec468f0
...@@ -396,6 +396,8 @@ retry: ...@@ -396,6 +396,8 @@ retry:
} }
/* Release our reference on face. */ /* Release our reference on face. */
/* XXX This is unsafe, since the face can be freed before us,
* and we will call hb_face_destroy() in our destroy()! */
hb_face_destroy (face); hb_face_destroy (face);
return hb_shape_plan_reference (shape_plan); return hb_shape_plan_reference (shape_plan);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册