aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/prfs/hmac_prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/crypto/prfs/hmac_prf.c')
-rw-r--r--src/libstrongswan/crypto/prfs/hmac_prf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/prfs/hmac_prf.c b/src/libstrongswan/crypto/prfs/hmac_prf.c
index 226977f3b..f315f880d 100644
--- a/src/libstrongswan/crypto/prfs/hmac_prf.c
+++ b/src/libstrongswan/crypto/prfs/hmac_prf.c
@@ -89,8 +89,8 @@ static void set_key(private_hmac_prf_t *this, chunk_t key)
*/
static void destroy(private_hmac_prf_t *this)
{
- free(this);
this->hmac->destroy(this->hmac);
+ free(this);
}
/*