Skip to content

Commit dc02828

Browse files
authored
[NFC] Update comment (microsoft#5882)
Update comment for sanitizer fix in microsoft#5851
1 parent 8caace9 commit dc02828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clang/tools/dxclib/dxc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ void DxcContext::Recompile(IDxcBlob *pSource, IDxcLibrary *pLibrary,
778778
IFT(pPdbUtils->GetSourceName(i, &pFileName));
779779
IFT(pIncludeHandler->insertIncludeFile(pFileName, pSourceFile, 0));
780780
if (pMainFileName == pFileName) {
781-
// Transfer pSourceFile to avoid pPdbUtils release it again.
781+
// Transfer pSourceFile to avoid extra AddRef+Release.
782782
pCompileSource.Attach(pSourceFile.Detach());
783783
}
784784
}

0 commit comments

Comments
 (0)