- Kona RQ170526-01074 - warning : passing argument of 'cairo_surface_destory' from incompatible pointer type (cairo-gl-operand.c)
- Svace 171678 related to memory leak (cairo-pdf-surface.c)
Change-Id: If5b06985ad3be89ef639bfa1cbb07002304ea3d7
fail:
cairo_surface_destroy (&surface->base);
- cairo_surface_destroy (image);
+ cairo_surface_destroy (&image->base);
return status;
}
char *pdf_str;
status = _utf8_to_pdf_string (subset.family_name_utf8, &pdf_str);
- if (unlikely (status))
- return status;
+ if (unlikely (status)) {
+ _cairo_truetype_subset_fini (&subset);
+ return status;
+ }
_cairo_output_stream_printf (surface->output,
" /FontFamily %s\n",