Skip to content

Commit 5296354

Browse files
committed
Mark this as a FIXME memory leak
1 parent 8567160 commit 5296354

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gcc/rust/analysis/rust-type-resolution.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ TypeResolution::visit (AST::ArrayElemsValues &elems)
445445
if (failed)
446446
return;
447447

448+
// FIXME This will leak
448449
auto capacity
449450
= new AST::LiteralExpr (std::to_string (elems.get_num_values ()),
450451
AST::Literal::INT,

0 commit comments

Comments
 (0)