r220569 - [Modules] Free modules that failed signature verification.
benny.kra at googlemail.com
Fri Oct 24 09:31:42 PDT 2014
Date: Fri Oct 24 11:31:42 2014
New Revision: 220569
[Modules] Free modules that failed signature verification.
The control flow and ownership is weird enough so unique_ptr doesn't help here :(
--- cfe/trunk/lib/Serialization/ModuleManager.cpp (original)
+++ cfe/trunk/lib/Serialization/ModuleManager.cpp Fri Oct 24 11:31:42 2014
@@ -145,6 +145,7 @@ ModuleManager::addModule(StringRef FileN
// module is *itself* up to date, but has an out-of-date importer.
+ delete New;
More information about the cfe-commits