tpm2_getmanufec: free hash in error paths of HashEKPublicKey
tpm2_getmanufec: free hash in error paths of HashEKPublicKey

hash is only going have a valid value if SHA256_Final
completes successfully, so free and set to null in
error paths.

Signed-off-by: Jerry Snitselaar <c95488007d076e3a8af5983fc4082d7c589fa2a6@redhat.com>

martinezjavier/tpm2-tools,01org/tpm2.0-tools,01org/tpm2.0-tools,martinezjavier/tpm2-tools,martinezjavier/tpm2-tools,01org/tpm2.0-tools,martinezjavier/tpm2-tools