summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2022-03-04 19:02:25 -0500
committerSimon Ser <contact@emersion.fr>2022-03-05 09:47:31 +0100
commit94f41dafd925ab2ff0dbbd3a7d47968d8ad12ffe (patch)
tree45aac74d02c99317239da5a188bfdecaf5fd607c /main.c
parent3874badf94ada966ca0ac3a8c1fa1e4e915a76d3 (diff)
downloadswaybg-94f41dafd925ab2ff0dbbd3a7d47968d8ad12ffe.tar.gz
swaybg-94f41dafd925ab2ff0dbbd3a7d47968d8ad12ffe.tar.bz2
Fix memory leak when using image tile mode
cairo_pattern_t and cairo_surface_t are both reference counted; before this change, `pattern` being leaked kept alive an extra reference to the image to which it referred, thereby leaking the image as well.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions