From: Christian Grothoff Date: Thu, 7 Mar 2013 12:30:20 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~9721 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2fa116568befd7d9ca3d81ad1d73a785b1fb9532;p=oweals%2Fgnunet.git -fix --- diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index ea6dde647..a3c92a335 100644 --- 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,