diff options
author | babenko <babenko@yandex-team.com> | 2024-10-08 13:50:23 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2024-10-08 14:03:20 +0300 |
commit | 71d6503c3f395e6f02f2d526262b42e32002c78e (patch) | |
tree | 684c026f8c215e0c8bb4063ef9d1aad68cd9063a | |
parent | 6abf3dab1cfdf59a54401d9881bda44841003491 (diff) | |
download | ydb-71d6503c3f395e6f02f2d526262b42e32002c78e.tar.gz |
Drop redundant MarkAsIntentionallyLeaked
commit_hash:a7e152eae3d2996e60fa5940906933bfb64bdc88
-rw-r--r-- | library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h b/library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h index 1fba63c427..f4bccbbaf9 100644 --- a/library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h +++ b/library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h @@ -30,9 +30,6 @@ TIntrusivePtr<T> LeakyRefCountedSingleton(TArgs&&... args) auto ptr = New<T>(std::forward<TArgs>(args)...); Ref(ptr.Get()); Ptr.store(ptr.Get()); -#if defined(_asan_enabled_) - NSan::MarkAsIntentionallyLeaked(ptr.Get()); -#endif }); return Ptr.load(); |