diff options
author | Pavel Odvody <podvody@redhat.com> | 2016-05-12 10:24:18 +0200 |
---|---|---|
committer | Colin Walters (automation) <walters+githubbot@verbum.org> | 2016-05-12 11:15:42 +0000 |
commit | 2fe416d264853677389785431099e5291adf13a5 (patch) | |
tree | 8bb822c00b1593f8de3cdf8655d4934a9f78e383 | |
parent | b9c39e5beb8cced46635a3af2dcb2291cda54c84 (diff) | |
download | bubblewrap-2fe416d264853677389785431099e5291adf13a5.tar.gz |
More robust handler for OOM condition
Closes: #63
Approved by: cgwalters
-rw-r--r-- | utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 * |