stringapi: Prevent a NULL dereference in WiX
This commit is contained in:
parent
219d6ad610
commit
191f25e2bd
|
@ -1089,7 +1089,7 @@ int cmCPackGenerator::DoPackage()
|
||||||
* may update this during PackageFiles.
|
* may update this during PackageFiles.
|
||||||
* (either putting several names or updating the provided one)
|
* (either putting several names or updating the provided one)
|
||||||
*/
|
*/
|
||||||
packageFileNames.push_back(tempPackageFileName);
|
packageFileNames.push_back(tempPackageFileName ? tempPackageFileName : "");
|
||||||
toplevel = tempDirectory;
|
toplevel = tempDirectory;
|
||||||
if ( !this->PackageFiles() || cmSystemTools::GetErrorOccuredFlag())
|
if ( !this->PackageFiles() || cmSystemTools::GetErrorOccuredFlag())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue