[cairo] Memory leak shown by mcheck with very short program - newbie question

Uli Schlachter psychon at znc.in
Tue Jan 7 16:50:05 UTC 2020


Hi Rainer,

On 07.01.20 13:41, Rainer Glaschick wrote:
> The following minimal program
[...]
> reports a memory leak, when mcheck is activated:

I think you are looking for cairo_debug_reset_static_data():

https://www.cairographics.org/manual/cairo-Error-handling.html#cairo-debug-reset-static-data

Cheers,
Uli
-- 
99 little bugs in the code
99 little bugs in the code
Take one down, patch it around
117 little bugs in the code
  -- @irqed


More information about the cairo mailing list