The cursor buffer is only non-null when a cursor is created from pixbuf, so it is not necessary to keep track of whether to free this buffer on finalize.