Skip to content
Snippets Groups Projects
Commit 3925b34b authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'leak.ByteStreamCnvSvc-20201218' into 'master'

ByteStreamCnvSvc: Fix memory leak.

See merge request atlas/athena!39302
parents e1ff2054 a1dba213
No related branches found
No related tags found
No related merge requests found
......@@ -736,9 +736,8 @@ StatusCode EventSelectorByteStream::recordAttributeListImpl(lock_t& lock) const
}
}
// build spec and the new attr list
coral::AttributeListSpecification* spec = new coral::AttributeListSpecification(); // the newly created attribute list owns the spec
auto attrList = std::make_unique<AthenaAttributeList>(*spec);
// build the new attr list
auto attrList = std::make_unique<AthenaAttributeList>();
// fill the attr list
ATH_CHECK(fillAttributeListImpl(attrList.get(), "", false, lock));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment