summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index d2ef984..4615cfd 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -2381,9 +2381,10 @@ static bool load_tagcache(void)
logf("Entry no longer valid.");
logf("-> %s", buf);
idx->flag |= FLAG_DELETED;
- delete_entry((long)idx - (long)hdr->indices);
+ delete_entry(fe->idx_id);
continue;
}
+ close(testfd);
}
idx->tag_seek[i] = pos;