diff options
author | 2021-11-17 19:01:32 -0800 | |
---|---|---|
committer | 2021-11-17 19:01:32 -0800 | |
commit | 61fc8745102b8ec2616d4a2f81589d910900fe23 (patch) | |
tree | e5b1b339a24bc45f351a196c7d6d9896f060b6ae | |
parent | 4a483fa8f4dc9fa3b4920ae3b7a0c70e674ff0ae (diff) |
Add missing fts_close.
Bug: 201090222
Test: presubmit
Change-Id: I57d2ea73103d6ad96af9e524e7f98fe8b5ffb2b6
-rw-r--r-- | cmds/installd/CacheItem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/installd/CacheItem.cpp b/cmds/installd/CacheItem.cpp index e29ff4c248..27690a3039 100644 --- a/cmds/installd/CacheItem.cpp +++ b/cmds/installd/CacheItem.cpp @@ -116,6 +116,7 @@ int CacheItem::purge() { break; } } + fts_close(fts); } else { if (tombstone) { if (truncate(path.c_str(), 0) != 0) { |