Commit c067687
committed
Fix memory leak in Dilithium signing when WC_DILITHIUM_CACHE_MATRIX_A is enabled
Changed line 8321 from allocating to local variable 'a' to 'key->a'
to prevent memory leak when the matrix A is dynamically allocated.1 parent 7b53303 commit c067687
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8318 | 8318 | | |
8319 | 8319 | | |
8320 | 8320 | | |
8321 | | - | |
8322 | | - | |
| 8321 | + | |
| 8322 | + | |
8323 | 8323 | | |
8324 | 8324 | | |
8325 | 8325 | | |
| |||
0 commit comments