mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-05-01 12:02:03 +02:00
Resolve leaks moving from Add to Sink
This commit is contained in:
@@ -14,7 +14,7 @@ Ref Module::Decorate(Ref target, spv::Decoration decoration,
|
||||
auto const op{new Op(spv::Op::OpDecorate)};
|
||||
op->Add(target);
|
||||
AddEnum(op, decoration);
|
||||
op->Add(literals);
|
||||
op->Sink(literals);
|
||||
return AddAnnotation(op);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user