diff options
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/crypto_helper_denom.c | 1 | ||||
| -rw-r--r-- | src/util/crypto_helper_esign.c | 1 | ||||
| -rw-r--r-- | src/util/taler-exchange-secmod-eddsa.c | 1 | ||||
| -rw-r--r-- | src/util/taler-exchange-secmod-rsa.c | 3 | 
4 files changed, 6 insertions, 0 deletions
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c index a70d071d..59fefc27 100644 --- a/src/util/crypto_helper_denom.c +++ b/src/util/crypto_helper_denom.c @@ -220,6 +220,7 @@ TALER_CRYPTO_helper_denom_connect (    strncpy (dh->sa.sun_path,             unixpath,             sizeof (dh->sa.sun_path) - 1); +  GNUNET_free (unixpath);    dh->sock = -1;    {      char *tmpdir; diff --git a/src/util/crypto_helper_esign.c b/src/util/crypto_helper_esign.c index 3759d0c8..9392fe40 100644 --- a/src/util/crypto_helper_esign.c +++ b/src/util/crypto_helper_esign.c @@ -221,6 +221,7 @@ TALER_CRYPTO_helper_esign_connect (    strncpy (esh->sa.sun_path,             unixpath,             sizeof (esh->sa.sun_path) - 1); +  GNUNET_free (unixpath);    esh->sock = -1;    {      char *tmpdir; diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c index e8670d97..1c217e0b 100644 --- a/src/util/taler-exchange-secmod-eddsa.c +++ b/src/util/taler-exchange-secmod-eddsa.c @@ -564,6 +564,7 @@ handle_done (void *cls)             (key->purge) )          free_key (key);      } +    GNUNET_free (wi->purpose);      GNUNET_free (wi);      GNUNET_assert (0 == pthread_mutex_lock (&done_lock));    } diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index ebd2d375..d2e44e70 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c @@ -614,6 +614,8 @@ handle_done (void *cls)        buf_size = GNUNET_CRYPTO_rsa_signature_encode (wi->rsa_signature,                                                       &buf); +      GNUNET_CRYPTO_rsa_signature_free (wi->rsa_signature); +      wi->rsa_signature = NULL;        tsize = sizeof (*sr) + buf_size;        GNUNET_assert (tsize < UINT16_MAX);        sr = GNUNET_malloc (tsize); @@ -638,6 +640,7 @@ handle_done (void *cls)             (dk->purge) )          free_dk (dk);      } +    GNUNET_free (wi->blinded_msg);      GNUNET_free (wi);      GNUNET_assert (0 == pthread_mutex_lock (&done_lock));    }  | 
