mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Fix Memory Leak
This commit is contained in:
parent
304e4f3823
commit
8800c645f2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user