Memleak and invalid free.

CairoOutputDev::setSoftMask() fails to free the cairo_t and mask it uses
to draw the opaque soft mask and attempts to destroy a reference to a
surface it does not own (this bug was masked by the fact that a reference
was still being held by the unfreed cairo_t).
1 file changed