diff options
| author | 2021-11-18 16:30:56 +0000 | |
|---|---|---|
| committer | 2021-11-18 16:30:56 +0000 | |
| commit | 4632c8fd83189279c7a23ebc7c10367da2e10e37 (patch) | |
| tree | c408815cd1d97ead57771e3242535ca6f4dd15df | |
| parent | c9212ec27c9417962b667f718ddcd77ca6f9abb4 (diff) | |
| parent | e4d27b5df234f07d3cabdc2d9cd3eabf3e16a861 (diff) | |
Merge "Add missing fts_close." am: e4d27b5df2
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1896050
Change-Id: I401d2e86828df71a9166e4e83f19545e623325cd
| -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) { |