logo

deblob

remove binary executables from a directory git clone https://hacktivis.me/git/deblob.git
commit: 3f6dcb8bb7540d5946ae4e03a42136814a28cdf4
parent 3ee535654f5c937f0a23c7140d36fbab0c95f66c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 24 Feb 2022 17:43:19 +0100

check_dir: fix memory leak

Diffstat:

Mmain.ha1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/main.ha b/main.ha @@ -92,6 +92,7 @@ fn check_dir(dirname: str, ignoring: bool) (void | errors::invalid) = { }; const filename = path::join(dirname, ent.name); + defer free(filename); if (ent.name == "." || ent.name == "..") { continue;