]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 c0143d0a5d82ff9fef716cd67e9d2fd6712ebc47..3bd36d2dce61b68e88b89cb0e8909a0bd01e118b 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;
 }