Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61fc8745 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Add missing fts_close.

Bug: 201090222
Test: presubmit
Change-Id: I57d2ea73103d6ad96af9e524e7f98fe8b5ffb2b6
parent 4a483fa8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ int CacheItem::purge() {
                break;
            }
        }
	fts_close(fts);
    } else {
        if (tombstone) {
            if (truncate(path.c_str(), 0) != 0) {