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

Commit 5df912d6 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński Committed by Gerrit Code Review
Browse files

Merge "Explicitly discard released proto strings."

parents eb3651fe e98eb9e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1287,8 +1287,8 @@ int IncrementalService::addBindMount(IncFsMount& ifs, StorageId storage,
        bp.set_allocated_dest_path(&target);
        bp.set_allocated_source_subdir(&source);
        const auto metadata = bp.SerializeAsString();
        bp.release_dest_path();
        bp.release_source_subdir();
        static_cast<void>(bp.release_dest_path());
        static_cast<void>(bp.release_source_subdir());
        mdFileName = makeBindMdName();
        metadataFullPath = path::join(ifs.root, constants().mount, mdFileName);
        auto node = mIncFs->makeFile(ifs.control, metadataFullPath, 0444, idFromMetadata(metadata),