From b82157509354c0ebe428efe7b17844dcd0bd2c51 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 4 May 2015 13:24:33 +0200 Subject: [PATCH] crypt-burn: free() associated data after test --- scripts/crypt_burn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/crypt_burn.c b/scripts/crypt_burn.c index c0143d0a5d..3bd36d2dce 100644 --- a/scripts/crypt_burn.c +++ b/scripts/crypt_burn.c @@ -120,6 +120,7 @@ static bool burn_aead(const proposal_token_t *token, u_int limit, u_int len) free(iv.ptr); free(data.ptr); free(key.ptr); + free(assoc.ptr); return ok; } -- 2.47.2