projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix
[oweals/gnunet.git]
/
src
/
util
/
crypto_ecc.c
diff --git
a/src/util/crypto_ecc.c
b/src/util/crypto_ecc.c
index ea6dde647f60b3027d054e025604a4cabd7937b4..a3c92a335865ac559c8fd810b63b9c385b4124ea 100644
(file)
--- a/
src/util/crypto_ecc.c
+++ b/
src/util/crypto_ecc.c
@@
-977,6
+977,8
@@
GNUNET_CRYPTO_ecc_sign (const struct GNUNET_CRYPTO_EccPrivateKey *key,
LOG (GNUNET_ERROR_TYPE_WARNING,
_("ECC signing failed at %s:%d: %s\n"), __FILE__,
__LINE__, gcry_strerror (rc));
+ gcry_sexp_release (data);
+ return GNUNET_SYSERR;
}
gcry_sexp_release (data);
ssize = gcry_sexp_sprint (result,