mutter/clutter/tests/conform
Marco Trevisan (Treviño) f99cd18254 clutter/tests/actor-destroy: Check destroying the actor clears the children
Commit df7d8e2cb highlights a crash on test_destroy_destroy, in fact it could
happen that calling clutter_actor_destroy on a child while iterating on the
list, would implicitly call test_destroy_remove that tries to modify the list
at the same time. Causing a memory error.

So instead of manually free the children list, just ensure that this list is
valid and that when the object destruction is done, this is free'd.

See: https://gitlab.gnome.org/GNOME/mutter/merge_requests/576

https://gitlab.gnome.org/GNOME/mutter/merge_requests/581
2019-05-27 17:14:25 -05:00
..
scripts move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
actor-anchors.c clutter/tests: Update expectations in actor-anchors test 2018-12-18 13:51:44 +01:00
actor-destroy.c clutter/tests/actor-destroy: Check destroying the actor clears the children 2019-05-27 17:14:25 -05:00
actor-graph.c clutter: conform/actor-graph: Add missing null-termination 2017-05-05 09:53:51 -04:00
actor-invariants.c
actor-iter.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
actor-layout.c
actor-meta.c
actor-offscreen-redirect.c
actor-paint-opacity.c
actor-pick.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
actor-shader-effect.c
actor-size.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
behaviours.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
binding-pool.c
cairo-texture.c
cally-text.c
color.c
group.c
interval.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
meson.build
path.c
rectangle.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
script-parser.c
state.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
text-cache.c
text.c clutter/text: Generate resource scaled text and paint it at proper scaling 2019-03-01 17:46:49 +00:00
texture-fbo.c
texture.c
timeline-interpolate.c
timeline-progress.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
timeline-rewind.c
timeline.c Use free_full on GSList's instead of foreach + free 2019-05-15 14:49:56 -05:00
units.c move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00