aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5ab7efa..bde737d 100644
--- a/main.c
+++ b/main.c
@@ -444,6 +444,8 @@ void read_dir_rec(const char *dirname) {
else
first = 0;
}
+
+ free(dirnames);
}
void* s_malloc(size_t size) {