Added cleanup to test_wc_curve25519_export_key_raw_ex

This commit is contained in:
TakayukiMatsuo
2020-06-11 09:05:09 +09:00
parent 1d98c960cf
commit a855d6355e

View File

@ -15686,6 +15686,8 @@ static int test_wc_curve25519_export_key_raw_ex (void)
/* no more test*/ /* no more test*/
printf(resultFmt, passed ); printf(resultFmt, passed );
fflush( stdout ); fflush( stdout );
wc_curve25519_free(&key);
wc_FreeRng(&rng);
return 0; return 0;
} }
else{ else{