[cairo] Do I Need To Reference The Device?

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sat Mar 7 20:10:02 PST 2015

Do I need to call cairo_device_reference on the result from
if I want to keep the reference? In every other analogous case I can
find, e.g. cairo_get_source
it is made clear you must get your own reference to the returned
object, but not here.

(I have just in the last few hours fixed a few crashes in Qahirah from
neglecting to observe these rules.)

Is this an omission in the documentation?

Thanks for any clarification.

More information about the cairo mailing list