mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[RemoteMirrors] Fix the pointer-returning readBytes wrapper to actually work.
This commit is contained in:
@@ -73,7 +73,7 @@ public:
|
||||
free(buffer);
|
||||
return std::make_tuple(nullptr, []{});
|
||||
}
|
||||
return std::make_tuple(nullptr, [=]{ free(buffer); });
|
||||
return std::make_tuple(buffer, [=]{ free(buffer); });
|
||||
}
|
||||
|
||||
/// Attempts to read 'size' bytes from the given address in the
|
||||
|
||||
Reference in New Issue
Block a user