projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b40d894
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Thu, 7 Mar 2013 12:30:20 +0000
(12:30 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 7 Mar 2013 12:30:20 +0000
(12:30 +0000)
src/util/crypto_ecc.c
patch
|
blob
|
history
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,