mirror of https://github.com/grpc/grpc.git
[xds_override_host] fix vector initialization bug (#34678)
Instead of initializing the vector to N elements whose values are all null, we should be reserving N elements before populating the vector. This bug didn't actually break anything, but it did cause us to allocate twice the amount of space that we should have.pull/32852/head
parent
eb9e57a03c
commit
ff65d0e1d9
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue