1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +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_set_source_surface(cr, result, x, y);
cairo_paint_with_alpha(cr, alpha); cairo_paint_with_alpha(cr, alpha);
imlib_context_set_image(alpha_image);
imlib_free_image();
imlib_context_set_image(image); imlib_context_set_image(image);
imlib_free_image(); imlib_free_image();
imlib_context_set_image(premul); imlib_context_set_image(premul);