aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/balloc/balloc.cpp
diff options
context:
space:
mode:
authoromakovski <omakovski@yandex-team.ru>2022-02-10 16:49:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:30 +0300
commit9d2a99f5085a7425ef22831762c8684b687e0500 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/balloc/balloc.cpp
parent5feb3b4d96aaa42ce546426241c48d626e6d6685 (diff)
downloadydb-9d2a99f5085a7425ef22831762c8684b687e0500.tar.gz
Restoring authorship annotation for <omakovski@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/balloc/balloc.cpp')
-rw-r--r--library/cpp/balloc/balloc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/balloc/balloc.cpp b/library/cpp/balloc/balloc.cpp
index 61963a3a81..fab489db4c 100644
--- a/library/cpp/balloc/balloc.cpp
+++ b/library/cpp/balloc/balloc.cpp
@@ -42,9 +42,9 @@ namespace NBalloc {
memset(ptr, 0xde, size - signature);
#endif
FreeRaw(allocHeader->Block);
- if (NAllocStats::IsEnabled()) {
- NAllocStats::DecThreadAllocStats(size - signature);
- }
+ if (NAllocStats::IsEnabled()) {
+ NAllocStats::DecThreadAllocStats(size - signature);
+ }
} else if (signature == DISABLED_SIGNATURE) {
LibcFree(allocHeader->Block);
} else {