Commit 70bfb02f authored by Matthias Clasen's avatar Matthias Clasen

GtkGesture: Don't leak the group link

Found in a valgrind log.
parent 18126121
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment