Bug#524908: libcairo-ocaml-dev: memory leak in Cairo_bigarray

2011-08-04 Thread Oto Havle
Stéphane Glondu wrote: > I can see that cairo_surface_t finalizer is always called when expected. > ml_cairo_image_surface_create_for_data does register a global root, but > caml_{register/remove}_global_root calls are always paired. The bug scenario in fact involves two custom blocks - cairo_s

Bug#524908: libcairo-ocaml-dev: memory leak in Cairo_bigarray

2009-04-20 Thread Oto Havle
Package: libcairo-ocaml-dev Version: 20070908-1+b2 Severity: normal OCaml programs which create Cairo surfaces via Cairo_bigarray leak memory. Following test program reproduces the bug. The program allocates many 100Mb arrays, but explicit garbage collector invocation should keep the total memor