We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e2b94e + 1c07c50 commit 5e4712fCopy full SHA for 5e4712f
lib/SILOptimizer/Mandatory/AccessEnforcementSelection.cpp
@@ -614,7 +614,7 @@ void AccessEnforcementSelection::run() {
614
closureOrder.compute();
615
616
dynamicCaptures = std::make_unique<DynamicCaptures>(closureOrder);
617
- SWIFT_DEFER { dynamicCaptures.release(); };
+ SWIFT_DEFER { dynamicCaptures.reset(); };
618
619
for (SILFunction *function : closureOrder.getTopDownFunctions()) {
620
this->processFunction(function);
0 commit comments