tests/plugins: make howvec clean-up after itself.
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 25 Feb 2020 12:47:06 +0000 (12:47 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 25 Feb 2020 20:20:23 +0000 (20:20 +0000)
commitec11c4a8ec7e858ec328772910def6e2fca9079a
treec93d8cc0a5a546e68ab6507f26da93196c3d64f8
parent25139bf7f87a0d0e758d4198579a227ab551802a
tests/plugins: make howvec clean-up after itself.

TCG plugins are responsible for their own memory usage and although
the plugin_exit is tied to the end of execution in this case it is
still poor practice. Ensure we delete the hash table and related data
when we are done to be a good plugin citizen.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200225124710.14152-16-alex.bennee@linaro.org>
tests/plugin/howvec.c