aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/malloc/api/malloc.cpp
diff options
context:
space:
mode:
authordzats <dzats@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit44f31b316af517a4fbc6a82ebed8a1c51807deac (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/malloc/api/malloc.cpp
parent25972584abddd173801b48d92f8719e83af797b1 (diff)
downloadydb-44f31b316af517a4fbc6a82ebed8a1c51807deac.tar.gz
Restoring authorship annotation for <dzats@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/malloc/api/malloc.cpp')
-rw-r--r--library/cpp/malloc/api/malloc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/malloc/api/malloc.cpp b/library/cpp/malloc/api/malloc.cpp
index 187cd4b74e..eed1c58a38 100644
--- a/library/cpp/malloc/api/malloc.cpp
+++ b/library/cpp/malloc/api/malloc.cpp
@@ -1,6 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
-
+
#include "malloc.h"
namespace {
@@ -27,11 +27,11 @@ namespace NMalloc {
, CheckParam(CheckEmptyParam)
{
}
-
+
void AbortFromCorruptedAllocator(const char* errorMessage) {
errorMessage = errorMessage ? errorMessage : "<unspecified>";
fprintf(stderr, "Allocator error: %s\n", errorMessage);
- IsAllocatorCorrupted = true;
- abort();
- }
+ IsAllocatorCorrupted = true;
+ abort();
+ }
}