commit | 52ae36ed57902508b1440c7ff3570c34e2cf154c | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Thu Feb 16 16:41:27 2017 -0800 |
committer | Greg Hackmann <ghackmann@google.com> | Wed Feb 22 11:07:15 2017 -0800 |
tree | 82172dfe86bbd290c1cc068b6d5850b329ec9955 | |
parent | 1d73abb4436f5c578f05dd016a820e4a37275f75 [diff] |
libadf: adf_test: fix crash on adf.devices failure If devs is uninitialized and adf_devices() fails, we'll end up passing the uninitialized pointer to free(). Test: /data/nativetest64/adf-unit-tests/adf-unit-tests (on Nexus 9 w/o root) Change-Id: Ifc6038c1da14d32ee564675bac54fc7df2623c1d Signed-off-by: Greg Hackmann <ghackmann@google.com>