Skip to content
Commit 5911d2a7 authored by Leandro Ribeiro's avatar Leandro Ribeiro Committed by Daniel Stone
Browse files

tests: fix leak when we won't run DRM-backend tests



This fixes a leak found running drm-smoke-test with ASan. Do not forget
to call prog_args_fini() when:

- skipping DRM-backend tests because we don't have
  WESTON_TEST_SUITE_DRM_DEVICE set.

- we fail to acquire the lock needed to run DRM-backend tests.

Signed-off-by: default avatarLeandro Ribeiro <leandro.ribeiro@collabora.com>
parent d42fa30d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment