summaryrefslogtreecommitdiffstats
path: root/library/cpp/malloc/api/malloc.cpp
diff options
context:
space:
mode:
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 187cd4b74e8..eed1c58a383 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();
+ }
}