mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[serialization] Fix another scary use of stack memory.
...instead of ASTContext-allocated memory. Swift SVN r6243
This commit is contained in:
@@ -1641,7 +1641,7 @@ Type ModuleFile::getType(TypeID TID) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boundTy->setSubstitutions(substitutions);
|
boundTy->setSubstitutions(ctx.AllocateCopy(substitutions));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user