shell-xfixes-cursor: missing XFree

memory returned by XFixesGetCursorImage should be freed after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=642652
This commit is contained in:
Maxim Ermilov 2011-05-05 14:06:05 +04:00 committed by Colin Walters
parent 9a2a07f32a
commit 7feef56656

View File

@ -254,6 +254,7 @@ xfixes_cursor_reset_image (ShellXFixesCursor *xfixes_cursor)
xfixes_cursor->cursor_hot_y = cursor_image->yhot;
g_signal_emit (xfixes_cursor, signals[CURSOR_CHANGED], 0);
}
XFree (cursor_image);
}
static void