commit | af5dc0e779bda25a35c8f8a3eb234bddb9dafeda | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Wed Sep 11 15:09:28 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Wed Sep 11 15:09:28 2019 -0700 |
tree | 80f3e406f193beb75ad103329af4059c7668552f | |
parent | 63e9ba9de01bba9b4142d32fce94f336084d166e [diff] |
Thread test: Avoid potential leak and return first error While we're not really concerned about a potential memory leak like this in a test, we want to remove it so static analysis tools looking for leaks won't trigger on this. This fix also has the advantage that in the event of multiple failures, we'll return the first one, which is probably most helpful for debugging. Test: TreeHugger Change-Id: Ib8066d7055118a1db067198915815432ed142818