diff options
author | John Norrbin <Johnex@users.noreply.github.com> | 2019-01-04 19:24:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 19:24:59 +0100 |
commit | 1e848d2e4eaa5664d99b0e59f124f1eabf039f05 (patch) | |
tree | 1a0e2bbe0dfc7e7a263bb96627d714f4def3cd01 /m4 | |
parent | 779ec4dedcc62204a4d2acecb528a24931313a3d (diff) | |
download | portable-1e848d2e4eaa5664d99b0e59f124f1eabf039f05.tar.gz portable-1e848d2e4eaa5664d99b0e59f124f1eabf039f05.tar.bz2 portable-1e848d2e4eaa5664d99b0e59f124f1eabf039f05.zip |
Handle malloc returning null
Locks are required for multi-threading. If memory can't be allocated, exit the program with memory error. If we let the program continue, it will deadlock in the next part of the code anyway so better end it before.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions