Skip to content

Commit c349132

Browse files
authored
Merge pull request #344 from anhu/wc_FreeDecodedCert
Properly deallocate resources in sphincs_sign_verify.c
2 parents 062460a + b06e00e commit c349132

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pq/sphincs_sign_verify.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ int main(int argc, char** argv)
195195

196196
printf("verify result: %s\n", verify_result == 1 ? "SUCCESS" : "FAILURE");
197197

198+
wc_FreeDecodedCert(&decodedCert);
198199
wc_sphincs_free(&priv_key);
199200
wc_sphincs_free(&pub_key);
200201
wc_FreeRng(&rng);

0 commit comments

Comments
 (0)