gtkgesturerotate: Fix a memory leak
On touchpads gtk_gesture_get_sequences()
was called without a corresponding g_list_free()
. The same was true for touchscreens if due to some reason only a single sequence was found.
The fix is modeled after a similar one for GtkGestureZoom, see commit 7ee0e656
The same bug exists in GTK3, once this MR is accepted I'll backport the fix.
Edited by Yariv