trousers: Fix memory leaks in Tspi_TPM_Quote
Fix the consistent leak of |keyData|, and probable leaks
(happening depending on parameter values or error occurred) of
|pcrDataOut|, |validationData|, ....
BUG=chromium:938195
TEST=manual
Change-Id: Ie2bcf94536f47a0310b5393fe82506901874848b
Reviewed-on: https://chromium-review.googlesource.com/1505450
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
2 files changed