aboutsummaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-18 07:27:03 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-18 07:27:03 +0000
commit5cc3bf7d8153dca018df4f659448decee9a8bbf4 (patch)
treebf742382cc6792c80ecd9d9ce445f10be065a2d6 /src/fetch.c
parent0783f3a56842e72c3a8f1079e6e522fdb66939f1 (diff)
fix memory leaks in getver and fetch bug in fetch that doesn't remove the old repo
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index af56cbf..2666f78 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -40,7 +40,6 @@ bool fetch(package_t *pkg) {
s.data[s.len] = 0;
if (is_directory(s.data) && flags.force) {
- return true;
if (remove_tree(s.data)) {
log_error("could not remove %.*s", str_fmt(&s));
return false;