Skip to content

Commit

Permalink
fix asan
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hamilton <rch@google.com>
  • Loading branch information
RyanTheOptimist committed Sep 25, 2021
1 parent 133ef91 commit 6ae877a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/http/alternate_protocols_cache_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ AlternateProtocolsCacheImpl::findAlternatives(const Origin& origin) {
protocols.end());

if (protocols.empty()) {
protocols_map_.erase(entry_it);
protocols_list_.erase(entry_it->second);
protocols_map_.erase(entry_it);
if (key_value_store_) {
key_value_store_->remove(originToString(origin));
}
Expand Down

0 comments on commit 6ae877a

Please sign in to comment.