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:
parent
9a2a07f32a
commit
7feef56656
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user