crypt-burn: free() associated data after test
authorMartin Willi <martin@revosec.ch>
Mon, 4 May 2015 11:24:33 +0000 (13:24 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 4 May 2015 11:24:33 +0000 (13:24 +0200)
scripts/crypt_burn.c

index c0143d0..3bd36d2 100644 (file)
@@ -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;
 }