diff options
author | Tomas Bzatek <[email protected]> | 2020-07-22 18:07:59 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-08-03 13:46:34 +0200 |
commit | 4aa200f0e45e36f6cd31d659001a444ecb7c9841 (patch) | |
tree | 4a3b1dd1df2724842b6b422635ea6acabb0ae470 | |
parent | 63ef9f71bd1cafa627f55b5705114dce03b0a865 (diff) | |
download | mate-panel-4aa200f0e45e36f6cd31d659001a444ecb7c9841.tar.bz2 mate-panel-4aa200f0e45e36f6cd31d659001a444ecb7c9841.tar.xz |
wncklet: Fix leaking cairo_t
-rw-r--r-- | applets/wncklet/showdesktop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c index d6c77a50..7999174a 100644 --- a/applets/wncklet/showdesktop.c +++ b/applets/wncklet/showdesktop.c @@ -224,6 +224,7 @@ static void update_icon(ShowDesktopData* sdd) cairo_set_source_surface (cr, icon, 0, 0); cairo_paint (cr); gtk_image_set_from_surface (GTK_IMAGE(sdd->image), scaled); + cairo_destroy (cr); cairo_surface_destroy (scaled); } else |