Merge branch 'bobby285271/fix-format-security' into 'master'

Fix building with -Werror=format-security

See merge request cairo/cairo!508
This commit is contained in:
Adrian Johnson 2023-09-02 05:49:05 +00:00
commit 7a06f65d9b

View file

@ -2534,6 +2534,7 @@ _cairo_pdf_surface_open_content_stream (cairo_pdf_surface_t *surface,
_cairo_pdf_surface_open_stream (surface,
resource,
surface->compress_streams,
"%s",
str);
free (str);
free (data);