Commit af958b86 authored by Timm Bäder's avatar Timm Bäder
Browse files

gdkdisplay-x11: Plug memory leak

parent ff5d14f1
......@@ -2934,7 +2934,12 @@ gdk_x11_display_get_default_seat (GdkDisplay *display)
pointer = gdk_seat_get_pointer (l->data);
if (gdk_x11_device_get_id (pointer) == device_id)
return l->data;
{
GdkSeat *seat = l->data;
g_list_free (seats);
return seat;
}
}
g_list_free (seats);
......
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