summaryrefslogtreecommitdiff
path: root/accessx-status/applet.c
diff options
context:
space:
mode:
authorRui Caridade <[email protected]>2018-09-05 21:48:35 +0100
committerraveit65 <[email protected]>2018-09-10 18:40:28 +0200
commit6c34117f887e4574035df60b1f26bb2471044f9a (patch)
treef00878d53872388ae38695ba5bf53a8a5ce5fddc /accessx-status/applet.c
parent246f078f4927595429878c4c662ac0e03580af65 (diff)
downloadmate-applets-6c34117f887e4574035df60b1f26bb2471044f9a.tar.bz2
mate-applets-6c34117f887e4574035df60b1f26bb2471044f9a.tar.xz
Fix memory leak on accessx-status.
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 88eb8d1f..1cb86334 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -660,6 +660,7 @@ static cairo_surface_t* accessx_status_applet_mousekeys_image(AccessxStatusApple
surface = gdk_cairo_surface_create_from_pixbuf (mouse_pixbuf, icon_scale, NULL);
g_object_unref(mouse_pixbuf);
+ g_object_unref(dot_pixbuf);
return surface;
}