mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
GtkGesture: Don't leak the group link
Found in a valgrind log.
This commit is contained in:
parent
18126121a4
commit
70bfb02fde
@ -208,7 +208,11 @@ gtk_gesture_set_property (GObject *object,
|
||||
static void
|
||||
gtk_gesture_finalize (GObject *object)
|
||||
{
|
||||
GtkGesturePrivate *priv = gtk_gesture_get_instance_private (GTK_GESTURE (object));
|
||||
GtkGesture *gesture = GTK_GESTURE (object);
|
||||
GtkGesturePrivate *priv = gtk_gesture_get_instance_private (gesture);
|
||||
|
||||
gtk_gesture_ungroup (gesture);
|
||||
g_list_free (priv->group_link);
|
||||
|
||||
g_hash_table_destroy (priv->points);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user