From daf842c91fbbda86357c801b76e9067b2c5dfc54 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 30 Oct 2024 09:02:47 +0100 Subject: Free the right thing --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 6086a9c..e0dd03a 100644 --- a/src/main.c +++ b/src/main.c @@ -200,7 +200,7 @@ main(int argc, char **argv) array_free(ops); #if GIT_GRAB array_foreach (filenames, f) - free(f); + free((void *)*f); array_free(filenames); #endif #endif -- cgit v1.2.3