mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
fix: Fixed some leaks in backup and scan.
This commit is contained in:
@@ -348,6 +348,7 @@ test_new_env_file :: proc(t: ^testing.T) {
|
||||
file, ok := new_env_file(env_path)
|
||||
testing.expect(t, ok, "new_env_file should succeed")
|
||||
if !ok do return
|
||||
defer delete(file.contents)
|
||||
defer delete(file.Remotes)
|
||||
defer delete(file.Sha256)
|
||||
defer delete(file.Path)
|
||||
|
||||
Reference in New Issue
Block a user