testsuite: Destroy surfaces

If we don't destroy the surface, it leaks.

GDK backends keep an extra reference on the
surface for the external resources associated
with it, and only drop it in destroy().
This commit is contained in:
Matthias Clasen 2020-05-16 09:09:26 -04:00
parent 4acb56d8c5
commit d771aa6fee

View File

@ -356,6 +356,7 @@ test_trigger_trigger (void)
gdk_event_unref (event);
}
gdk_surface_destroy (surface);
g_object_unref (surface);
g_object_unref (trigger[0]);