Chris00 / ocaml-cairo

Binding to Cairo, a 2D Vector Graphics Library.
GNU Lesser General Public License v3.0
54 stars 8 forks source link

Fix segfault in FT new_face #12

Closed bobot closed 5 years ago

bobot commented 5 years ago

I'm currently testing using the test of mlpost, still I should be able to create a smaller test.

The includes are needed so that users don't have strange error if they don't use caml/custom.h.

Chris00 commented 5 years ago

On 19 September 2018 at 14:43 GMT, François Bobot wrote:

Are this message normal surf' should be garbage collected but the surface still held bycr'. ?

It is. It is a test dating back to the origin of the library which was crashing without proper care of the dependence between the context and the surface.

Chris00 commented 5 years ago

Thanks!