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

Commit 7ce05cf6 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

MTP: Add missing call to closedir() in recursive delete code



BUG: 3185660

Change-Id: I3744d2cb193829d20a689af2aea50e8516779631
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 5f0cb5c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -736,6 +736,7 @@ static void deleteRecursive(const char* path) {
            unlink(pathbuf);
        }
    }
    closedir(dir);
}

static void deletePath(const char* path) {