From: Bastian Dehn Date: Thu, 2 Oct 2025 08:50:48 +0000 (+0200) Subject: fix free memory X-Git-Tag: 1.1.1^2~1 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=cfd1a68553d77c9b1b63c22fecd808c349b4671a;p=mv_none_space.git fix free memory --- diff --git a/src/main.c b/src/main.c index 2e2f0b4..ed0ee4f 100644 --- a/src/main.c +++ b/src/main.c @@ -65,6 +65,7 @@ void rename_files(const char* dir_path, rename_func_ptr renamefunc) } globfree(files); + free(files); files = NULL; free(input); input = NULL;