diff options
Diffstat (limited to 'absl/debugging/leak_check.h')
-rw-r--r-- | absl/debugging/leak_check.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/debugging/leak_check.h b/absl/debugging/leak_check.h index 7a5a22dd..b66a81c3 100644 --- a/absl/debugging/leak_check.h +++ b/absl/debugging/leak_check.h @@ -62,7 +62,8 @@ void DoIgnoreLeak(const void* ptr); // // If the passed `ptr` does not point to an actively allocated object at the // time `IgnoreLeak()` is called, the call is a no-op; if it is actively -// allocated, the object must not get deallocated later. +// allocated, leak sanitizer will assume this object is referenced even if +// there is no actual reference in user memory. // template <typename T> T* IgnoreLeak(T* ptr) { |