Fix last leak in ozone_unittests and run it on the cros lsan/asan bot.
Introduce a move-only ScopedWlArray to make sure all wl_arrays in the tests get wl_array_release()d when they are no longer needed. Also rename SetWlArrayWithState() to AddStateToWlArray() since it appends to its argument and doesn't replace the contents (this part has no behavior change). TBR=kbr Bug: 855588 Change-Id: I384ca182b44c9cb864d2d3e94c8ed4f0a0a16f77 Reviewed-on: https://chromium-review.googlesource.com/1113658 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Cr-Commit-Position: refs/heads/master@{#570160}
Showing
This diff is collapsed.
Please register or sign in to comment