[cairo] Destroy a cairo_surface_t with bad status

Carlos López González genetita at gmail.com
Mon May 20 10:55:24 PDT 2013

When I request a cairo_surface_t* (say reading png from filename) and its
status is not null (i.e. file doesn't exists), how should I destroy the bad
status surface?

Is it ok to do not destroy it and just leave the system take care of the
stored pointer?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130520/dc6d85d7/attachment.html>

More information about the cairo mailing list