1
0
Fork 0
mutter-performance-source/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
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
actor-layout.c
actor-meta.c
actor-offscreen-redirect.c clutter: Fix offscreen-effect painting of clones 2019-01-24 17:00:25 +00:00
actor-paint-opacity.c
actor-pick.c
actor-shader-effect.c tests: Don't check pixels outside actor allocation 2018-12-18 13:54:09 +01:00
actor-size.c
behaviours.c
binding-pool.c
cairo-texture.c
cally-text.c
color.c
group.c
interval.c
meson.build meson: Define srcdir and builddir using meson functions 2019-05-02 19:56:23 +00:00
path.c
rectangle.c
script-parser.c
state.c
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
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