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

Commit eb59aea0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "MTP: free leaked DIR after copyRecursive"

parents 20c03026 ca5cc4e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ int copyRecursive(const char *fromPath, const char *toPath) {
            ret += copyFile(oldFile.c_str(), newFile.c_str());
        }
    }
    closedir(dir);
    return ret;
}