1
0
Fork 0
mutter-performance-source/clutter
Marco Trevisan (Treviño) 2aac24deac clutter/actor: Steal instead of duplicating the last token value
Instead of duplicating a string we own already we can just steal it from
the array that we're using.

This is safe since we're sure about the tokens GStrv length and we are
always stealing the last element, so there is no risk that g_strfreev
would eventually leak something.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4071>
2024-10-08 15:35:44 +00:00
..
clutter clutter/actor: Steal instead of duplicating the last token value 2024-10-08 15:35:44 +00:00
meson.build build: Disable asserts and cast checks in Mutter 2024-09-24 14:07:23 +00:00