diff options
| author | sabdenovch <[email protected]> | 2026-04-20 16:18:43 +0300 |
|---|---|---|
| committer | sabdenovch <[email protected]> | 2026-04-20 22:28:13 +0300 |
| commit | 089d903eb534caa106ef8f94af51bc30c9e2bbea (patch) | |
| tree | ea5fbddb3e72dd8e8b65204f6be9f96d9f6dcadb /library/cpp/yt/memory/ref.cpp | |
| parent | 9ee8d2b9cc84e2d30a9d395738a459ce2d9c7505 (diff) | |
Revert commit rXXXXXX, Poison memory in allocation holders
commit_hash:3dc71807ca8b74fbc84807633ded4fca86b0151e
Diffstat (limited to 'library/cpp/yt/memory/ref.cpp')
| -rw-r--r-- | library/cpp/yt/memory/ref.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/cpp/yt/memory/ref.cpp b/library/cpp/yt/memory/ref.cpp index 1743680b581..5a6ca1e3373 100644 --- a/library/cpp/yt/memory/ref.cpp +++ b/library/cpp/yt/memory/ref.cpp @@ -3,7 +3,6 @@ #include "blob.h" #include <library/cpp/yt/malloc/malloc.h> -#include <library/cpp/yt/memory/poison.h> #include <library/cpp/yt/misc/port.h> @@ -100,7 +99,6 @@ class TAllocationHolderBase public: ~TAllocationHolderBase() { - PoisonFreedMemory(GetRef()); #ifdef YT_ENABLE_REF_COUNTED_TRACKING TRefCountedTrackerFacade::FreeTagInstance(Cookie_); TRefCountedTrackerFacade::FreeSpace(Cookie_, Size_); @@ -131,8 +129,6 @@ protected: #endif if (options.InitializeStorage) { ::memset(static_cast<TDerived*>(this)->GetBegin(), 0, Size_); - } else { - PoisonUninitializedMemory(GetRef()); } #ifdef YT_ENABLE_REF_COUNTED_TRACKING TRefCountedTrackerFacade::AllocateTagInstance(Cookie_); |
