diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-18 07:27:03 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-18 07:27:03 +0000 |
| commit | 5cc3bf7d8153dca018df4f659448decee9a8bbf4 (patch) | |
| tree | bf742382cc6792c80ecd9d9ce445f10be065a2d6 /src/fetch.c | |
| parent | 0783f3a56842e72c3a8f1079e6e522fdb66939f1 (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.c | 1 |
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; |
