commit | c336301f0e4e6a6bf1f83bfffdc16a19e39b89fd | [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 | 03d566844ac3fb81c4c3ef97ae591b97efe0e696 [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>