Fix memory leak
authorRich Salz <rsalz@openssl.org>
Sat, 11 Apr 2015 14:53:27 +0000 (16:53 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Sat, 11 Apr 2015 18:31:29 +0000 (20:31 +0200)
commita38537721dfdd853c40b4b4d99b57950075b0178
tree185ae0376ec4c6edfd18bfaef7ecc94a38cafa95
parent8ec5c5dd361343d9017eff8547b19e86e4944ebc
Fix memory leak

It should have freed them when != NULL, not when == NULL.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Viktor Dukhovni <openssl-users@dukhovni.org>
crypto/ec/ecp_smpl.c