]> Cypherpunks repositories - gostls13.git/commit
container/heap: remove confusing claim of memory leak
authorcodesoap <codesoap@mailbox.org>
Wed, 31 Jan 2024 18:31:56 +0000 (18:31 +0000)
committerRobert Griesemer <gri@google.com>
Wed, 31 Jan 2024 20:27:36 +0000 (20:27 +0000)
commit6120688146c11506e7a1e836ec8a2492eceb211c
treee62ee15aacd3aa4d4dcc6e2eccc38f8659653b39
parenta5fb65601e7e51f702fc1b3ea9e956f217449b55
container/heap: remove confusing claim of memory leak

The term "memory leak" was misused here, as the memory is still referenced
by the slice.

Fixes #65403

Change-Id: Id102419d4c798fb2a4ec8be86be9ec9b5cdd98e6
GitHub-Last-Rev: 3febcd0ba4ab5897bef8f2d7ded594ef09932771
GitHub-Pull-Request: golang/go#65404
Reviewed-on: https://go-review.googlesource.com/c/go/+/559775
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/container/heap/example_pq_test.go