- Check for failure when calling SetupDiGetActualSectionToInstallW so we don't pass garbage to SetupInstallFromInfSectionW. CID 715920
svn path=/trunk/; revision=73663
TRACE("Section name: %S\n", DriverInfoDetailData->SectionName);
- SetupDiGetActualSectionToInstallW(hInf,
- DriverInfoDetailData->SectionName,
- InfSectionWithExt,
- 256,
- NULL,
- NULL);
+ if (!SetupDiGetActualSectionToInstallW(hInf,
+ DriverInfoDetailData->SectionName,
+ InfSectionWithExt,
+ 256,
+ NULL,
+ NULL))
+ goto done;
TRACE("InfSectionWithExt: %S\n", InfSectionWithExt);