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
commit5feb3b4d96aaa42ce546426241c48d626e6d6685 (patch)
tree728359f39c2eeab2b894f3d8664ea1499ffde216 /library/cpp/balloc/balloc.cpp
parent077ab504815199e62ffc54daee873cf1d6b64297 (diff)
downloadydb-5feb3b4d96aaa42ce546426241c48d626e6d6685.tar.gz
Restoring authorship annotation for <omakovski@yandex-team.ru>. Commit 1 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 fab489db4c..61963a3a81 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 {