summaryrefslogtreecommitdiffstats
path: root/lib/Utils/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils/logging.cpp')
-rw-r--r--lib/Utils/logging.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Utils/logging.cpp b/lib/Utils/logging.cpp
index 58d14ee..d79ded5 100644
--- a/lib/Utils/logging.cpp
+++ b/lib/Utils/logging.cpp
@@ -117,3 +117,8 @@ void simple_perror_msg(const char *s)
{
perror_msg("%s", s);
}
+
+void die_out_of_memory(void)
+{
+ error_msg_and_die("Out of memory, exiting");
+}