diff options
author | infirit <[email protected]> | 2014-07-14 23:11:39 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-14 23:11:39 +0200 |
commit | 38af157b61f7733781cfce76c6ff3ed403533d6b (patch) | |
tree | 010a2d04d3d030f46b57d2e9f535985e31f25101 /plugins | |
parent | 216e53ecf80d276dc3ab093fbe7dc94134eab3a2 (diff) | |
download | mate-settings-daemon-38af157b61f7733781cfce76c6ff3ed403533d6b.tar.bz2 mate-settings-daemon-38af157b61f7733781cfce76c6ff3ed403533d6b.tar.xz |
xrandr-manager: Fix memleak
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index ea2878d..9f8a5a9 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -1734,6 +1734,9 @@ output_title_label_expose_event_cb (GtkWidget *widget, GdkEventExpose *event, gp gtk_widget_set_state (widget, GTK_STATE_NORMAL); +#if !GTK_CHECK_VERSION (3, 0, 0) + cairo_destroy (cr); +#endif return FALSE; } |