forked from AuroraMiddleware/gtk
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:
parent
4acb56d8c5
commit
d771aa6fee
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user