summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2016-06-22 19:03:23 +0300
committerSorokin Alexei <[email protected]>2016-06-22 19:03:23 +0300
commit5088db97655b97ff888cb5b485cf7c88f6e8e61f (patch)
tree198583e1631910bfd93ffc3bb9afc97e2e6f9815
parent051d9df1ca81e586f43d1d95a1ac3159452d4f17 (diff)
downloadmate-screensaver-5088db97655b97ff888cb5b485cf7c88f6e8e61f.tar.bz2
mate-screensaver-5088db97655b97ff888cb5b485cf7c88f6e8e61f.tar.xz
Gtk2, popsquares: fix a memory leak
-rw-r--r--savers/gste-popsquares.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/savers/gste-popsquares.c b/savers/gste-popsquares.c
index 44caa48..d25bc16 100644
--- a/savers/gste-popsquares.c
+++ b/savers/gste-popsquares.c
@@ -375,6 +375,8 @@ set_colors (GtkWidget *widget,
bg->red = color.red;
bg->green = color.green;
bg->blue = color.blue;
+
+ gtk_widget_destroy (style_widget);
}
#endif