[clangd] Fix memory leak in FileIndexTest

This commit is contained in:
Kadir Cetinkaya 2020-04-17 13:56:22 +02:00
parent 4503cf5f23
commit 66b54d586f
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
1 changed files with 1 additions and 1 deletions

View File

@ -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;