From 372fec94c50fae821f4e413abd88f84822a2e185 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 1 Sep 2009 19:17:58 +0200 Subject: move die_out_of_memory() to abrtlib Signed-off-by: Denys Vlasenko --- lib/Utils/logging.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Utils/logging.cpp') diff --git a/lib/Utils/logging.cpp b/lib/Utils/logging.cpp index 58d14ee9..d79ded5d 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"); +} -- cgit