Re: Memory leak shown by mcheck with very short program - newbie question

Uli Schlachter <[email protected]> Tue, 7 Jan 2020 17:50:05 +0100
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo