Files
weston/tests
Daniel Stone 213195c4db tests: Don't leak args when skipping tests
We treat the argv we pass into the compositor as its to mangle, just as
it is free to do so for POSIX argv. To support this, we stash argv away
and free the saved copy later so as to not leak.

This works perfectly, except when we never call the compositor at all,
and have no saved array to free. Make sure we free the args in this
case, which can be seen as a leak of any generated args when a test
skips on preflight checks, e.g. drm-smoke when not running in CI.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2022-06-29 14:33:22 +01:00
..
2022-02-12 23:19:02 -05:00
2021-06-16 14:41:08 +00:00
2022-06-03 10:22:25 +00:00
2022-06-03 10:22:25 +00:00
2022-05-31 12:26:09 +00:00
2021-06-15 07:43:00 +00:00
2021-07-23 17:26:02 +01:00
2022-06-29 14:33:21 +01:00
2017-01-23 14:12:06 +02:00
2021-06-28 14:21:27 +03:00