summaryrefslogtreecommitdiff
path: root/accessx-status/applet.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-10 19:01:16 +0200
committerraveit65 <[email protected]>2018-09-11 09:25:30 +0200
commit4e15c188a04bb871e888225771c8d2530af57c33 (patch)
treef1b8d5f74d1c813f9ce9c1719820875ebcbe3cfb /accessx-status/applet.c
parent6c34117f887e4574035df60b1f26bb2471044f9a (diff)
downloadmate-applets-4e15c188a04bb871e888225771c8d2530af57c33.tar.bz2
mate-applets-4e15c188a04bb871e888225771c8d2530af57c33.tar.xz
accessx-status: fix another leak
Diffstat (limited to 'accessx-status/applet.c')
-rw-r--r--accessx-status/applet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index 1cb86334..652a99ca 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -634,6 +634,7 @@ static cairo_surface_t* accessx_status_applet_mousekeys_image(AccessxStatusApple
{
button_pixbuf = gtk_icon_theme_load_icon_for_scale (icon_theme, button_icons[i].icon_name, icon_size, icon_scale, 0, NULL);
gdk_pixbuf_composite(button_pixbuf, mouse_pixbuf, 0, 0, gdk_pixbuf_get_width(button_pixbuf), gdk_pixbuf_get_height(button_pixbuf), 0.0, 0.0, 1.0, 1.0, GDK_INTERP_NEAREST, 255);
+ g_object_unref(button_pixbuf);
}
}
}