summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Odvody <podvody@redhat.com>2016-05-12 10:24:18 +0200
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-05-12 11:15:42 +0000
commit2fe416d264853677389785431099e5291adf13a5 (patch)
tree8bb822c00b1593f8de3cdf8655d4934a9f78e383
parentb9c39e5beb8cced46635a3af2dcb2291cda54c84 (diff)
downloadbubblewrap-2fe416d264853677389785431099e5291adf13a5.tar.gz
More robust handler for OOM condition
Closes: #63 Approved by: cgwalters
-rw-r--r--utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index d4514c2..aeebddc 100644
--- a/utils.c
+++ b/utils.c
@@ -71,7 +71,8 @@ die_unless_label_valid (const char *label)
void
die_oom (void)
{
- die ("Out of memory");
+ puts ("Out of memory");
+ exit (1);
}
void *