diff options
author | Tomas Bzatek <[email protected]> | 2020-07-17 16:58:41 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-08-03 13:46:34 +0200 |
commit | 1f3f6abed34239cc056c4dcf2f1f890cd9572d6c (patch) | |
tree | a47e56ff246de2a59e1efc7aef4cc06595ed234f /applets | |
parent | 36a7df77115e7a300f082cc9537af96885da0996 (diff) | |
download | mate-panel-1f3f6abed34239cc056c4dcf2f1f890cd9572d6c.tar.bz2 mate-panel-1f3f6abed34239cc056c4dcf2f1f890cd9572d6c.tar.xz |
clock: Fix leaking cairo surface
Diffstat (limited to 'applets')
-rw-r--r-- | applets/clock/clock-location-tile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 82db27c9..cdcc1ef3 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -706,6 +706,7 @@ update_weather_icon (ClockLocation *loc, WeatherInfo *info, gpointer data) if (surface) { gtk_image_set_from_surface (GTK_IMAGE (priv->weather_icon), surface); gtk_widget_set_margin_end (priv->weather_icon, 6); + cairo_surface_destroy (surface); } } |