forked from OSchip/llvm-project
[clangd] Fix memory leak in FileIndexTest
This commit is contained in:
parent
4503cf5f23
commit
66b54d586f
|
@ -532,7 +532,7 @@ TEST(FileShardedIndexTest, Sharding) {
|
|||
}
|
||||
{
|
||||
// Should be stored in b.cc
|
||||
IF.Refs = std::move(*refSlab(Sym1.ID, BSourceUri.c_str()).release());
|
||||
IF.Refs = std::move(*refSlab(Sym1.ID, BSourceUri.c_str()));
|
||||
}
|
||||
{
|
||||
RelationSlab::Builder B;
|
||||
|
|
Loading…
Reference in New Issue