diff --git a/src/encauth/gcm/gcm_memory.c b/src/encauth/gcm/gcm_memory.c index e16f0b88..4da5d542 100644 --- a/src/encauth/gcm/gcm_memory.c +++ b/src/encauth/gcm/gcm_memory.c @@ -106,6 +106,7 @@ int gcm_memory( int cipher, err = CRYPT_INVALID_ARG; } LTC_ERR: + gcm_reset(gcm); XFREE(orig); return err; }