logo

deblob

remove binary executables from a directory git clone https://hacktivis.me/git/deblob.git
commit: 28d79fa6a7512299adbb5a19174e0193933449eb
parent 8181c7be216f8cb73dd828b05acd9efd638eb5f2
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 18 Feb 2022 10:40:56 +0100

Fix memory leak in excludes slice

Diffstat:

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

diff --git a/main.ha b/main.ha @@ -179,6 +179,7 @@ export fn main() void = { ('n', "No actual removal, only scan and log"), ); defer getopt::finish(&cmd); + defer free(excludes); for (let i = 0z; i < len(cmd.opts); i += 1) { const opt = cmd.opts[i];