MTP: Add missing call to closedir() in recursive delete code
BUG: 3185660 Change-Id: I3744d2cb193829d20a689af2aea50e8516779631 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -736,6 +736,7 @@ static void deleteRecursive(const char* path) {
|
||||
unlink(pathbuf);
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
}
|
||||
|
||||
static void deletePath(const char* path) {
|
||||
|
||||
Reference in New Issue
Block a user