Skip to content

Commit 71d6503

Browse files
author
babenko
committed
Drop redundant MarkAsIntentionallyLeaked
commit_hash:a7e152eae3d2996e60fa5940906933bfb64bdc88
1 parent 6abf3da commit 71d6503

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/cpp/yt/memory/leaky_ref_counted_singleton-inl.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ TIntrusivePtr<T> LeakyRefCountedSingleton(TArgs&&... args)
3030
auto ptr = New<T>(std::forward<TArgs>(args)...);
3131
Ref(ptr.Get());
3232
Ptr.store(ptr.Get());
33-
#if defined(_asan_enabled_)
34-
NSan::MarkAsIntentionallyLeaked(ptr.Get());
35-
#endif
3633
});
3734

3835
return Ptr.load();

0 commit comments

Comments
 (0)