We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73abcef commit 4e7b777Copy full SHA for 4e7b777
llvm-spirv/lib/SPIRV/libSPIRV/SPIRVStream.cpp
@@ -357,6 +357,7 @@ std::vector<SPIRVEntry *> SPIRVDecoder::getSourceContinuedInstructions() {
357
SPIRVExtInst *Inst = static_cast<SPIRVExtInst *>(Entry);
358
if (Inst->getExtOp() != SPIRVDebug::Instruction::SourceContinued) {
359
IS.seekg(Pos); // restore position
360
+ delete Entry;
361
return ContinuedInst;
362
}
363
M.add(Entry);
0 commit comments