Plug leak in AES tests.
This commit is contained in:
1 parent
21a1ddfbae
commit
9d8d864400
1 file changed
+1
@@ -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