[cairo] Potential issue

Bill Spitzak spitzak at gmail.com
Mon Aug 28 16:50:38 UTC 2017


On Mon, Aug 28, 2017 at 7:38 AM, Alexandre Bique
<bique.alexandre at gmail.com> wrote:

Isn't this line preventing that from happening:

>     if (scaled_font == cr->gstate->scaled_font)
>         return CAIRO_STATUS_SUCCESS;

> It seems that if you do cairo_set_scaled_font(cairo_get_scaled_font())
> you would trigger a memory leak right?
>
> Regards,
> --
> Alexandre Bique
> --
> cairo mailing list
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list