commit | 61fc8745102b8ec2616d4a2f81589d910900fe23 | [log] [tgz] |
---|---|---|
author | Alex Buynytskyy <alexbuy@google.com> | Wed Nov 17 19:01:32 2021 -0800 |
committer | Alex Buynytskyy <alexbuy@google.com> | Wed Nov 17 19:01:32 2021 -0800 |
tree | e5b1b339a24bc45f351a196c7d6d9896f060b6ae | |
parent | 4a483fa8f4dc9fa3b4920ae3b7a0c70e674ff0ae [diff] [blame] |
Add missing fts_close. Bug: 201090222 Test: presubmit Change-Id: I57d2ea73103d6ad96af9e524e7f98fe8b5ffb2b6
diff --git a/cmds/installd/CacheItem.cpp b/cmds/installd/CacheItem.cpp index e29ff4c..27690a3 100644 --- a/cmds/installd/CacheItem.cpp +++ b/cmds/installd/CacheItem.cpp
@@ -116,6 +116,7 @@ break; } } + fts_close(fts); } else { if (tombstone) { if (truncate(path.c_str(), 0) != 0) {