Skip to content
Commit 2afb812d authored by Derek Foreman's avatar Derek Foreman
Browse files

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: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 8b654c47
Loading
Loading
Loading
Pipeline #608618 passed with stages
in 3 minutes and 45 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment