aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohn Norrbin <Johnex@users.noreply.github.com>2019-01-04 19:24:59 +0100
committerGitHub <noreply@github.com>2019-01-04 19:24:59 +0100
commit1e848d2e4eaa5664d99b0e59f124f1eabf039f05 (patch)
tree1a0e2bbe0dfc7e7a263bb96627d714f4def3cd01 /config
parent779ec4dedcc62204a4d2acecb528a24931313a3d (diff)
downloadportable-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 'config')
0 files changed, 0 insertions, 0 deletions