1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Fix Memory Leak

This commit is contained in:
Simon Lees 2024-03-05 11:19:29 +10:30 committed by Brenden Matthews
parent 304e4f3823
commit 8800c645f2

View File

@ -93,6 +93,8 @@ void cairo_place_image(const char *file, cairo_t *cr, int x, int y,
cairo_set_source_surface(cr, result, x, y);
cairo_paint_with_alpha(cr, alpha);
imlib_context_set_image(alpha_image);
imlib_free_image();
imlib_context_set_image(image);
imlib_free_image();
imlib_context_set_image(premul);