[pdata] Prevent RemoveIf
memory leak by erasing truncated values in slices
#8976
Labels
RemoveIf
memory leak by erasing truncated values in slices
#8976
In the
RemoveIf
methods we can erase truncated values in slices explicitly to prevent a memory leak. This issue is meant to track the prior TODO on the code originally added in #2998:opentelemetry-collector/pdata/internal/cmd/pdatagen/internal/base_slices.go
Lines 115 to 116 in 7f56849
The text was updated successfully, but these errors were encountered: