shared/cairo-util: Hold onto our pattern reference until we're done
This doesn't actually fix a bug - cairo refcounts this. But I
really don't like the look of code that drops a reference then
continues to use it.
While we're here, set a different pattern when we're done so the
one we allocated loses its last reference.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
parent
8b654c47
Loading
Loading
Pipeline
#608618
passed
with stages
in
3 minutes and 45 seconds
Loading
Please register or sign in to comment