Commit 191f25e2 authored by Ben Boeckel's avatar Ben Boeckel Committed by Brad King
Browse files

stringapi: Prevent a NULL dereference in WiX

parent 219d6ad6
......@@ -1089,7 +1089,7 @@ int cmCPackGenerator::DoPackage()
* may update this during PackageFiles.
* (either putting several names or updating the provided one)
packageFileNames.push_back(tempPackageFileName ? tempPackageFileName : "");
toplevel = tempDirectory;
if ( !this->PackageFiles() || cmSystemTools::GetErrorOccuredFlag())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment