mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Plug leak in AES tests.
This commit is contained in:
@@ -15,6 +15,7 @@ test_aes :: proc(t: ^testing.T) {
|
|||||||
log.info("Testing AES")
|
log.info("Testing AES")
|
||||||
|
|
||||||
impls := make([dynamic]aes.Implementation, 0, 2)
|
impls := make([dynamic]aes.Implementation, 0, 2)
|
||||||
|
defer delete(impls)
|
||||||
append(&impls, aes.Implementation.Portable)
|
append(&impls, aes.Implementation.Portable)
|
||||||
if aes.is_hardware_accelerated() {
|
if aes.is_hardware_accelerated() {
|
||||||
append(&impls, aes.Implementation.Hardware)
|
append(&impls, aes.Implementation.Hardware)
|
||||||
|
|||||||
Reference in New Issue
Block a user