Coverity #1451595: use correct free function.
Coverity #1451595: use correct free function.

Reviewed-by: Bernd Edlinger <ac6902843ae77cc0d49b9c8ddec4cbf141db1bb7@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9362)

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl