Fix memory leaks.
* src/sexp.c (_gcry_hex2buffer): Free buffer on error. * cipher/ecc-ecdh.c (_gcry_ecc_curve_keypair): Free buffer on exit path. (_gcry_ecc_curve_mul_point): Free buffer on all exit paths. * tests/t-common.h (hex2buffer): Free memory on error path.
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>