aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-30 09:02:47 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-10-30 09:02:47 +0100
commitdaf842c91fbbda86357c801b76e9067b2c5dfc54 (patch)
tree6a271eafddf249bc1efe95d63d782a1f66e0633e /src
parent527f167f2e113ec560fa7a4053ed27a940b96714 (diff)
Free the right thing
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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