1
0
Fork 0
mutter-performance-source/clutter
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
..
clutter clutter-text: Fix selection color drawing 2019-05-27 18:39:39 +00:00
tests clutter/tests/actor-destroy: Check destroying the actor clears the children 2019-05-27 17:14:25 -05:00
.gitignore clutter: Remove clutter specific version 2018-11-06 17:17:36 +01:00
meson.build clutter: Add fribidi dependency and copy deprecated pango functions 2019-05-17 18:11:43 -05:00