Skip to content
Commit e1c351dc authored by David Edmundson's avatar David Edmundson
Browse files

Guard against allocs failing

In c++ 'new' will throw an bad_alloc if we can't allocate memory. This
will effectively abort, but semi-gracefully.
Where we use c style allocs, we should check even if we just exit. It's
better than something unknown happening.
parent 891fe480
Pipeline #434239 passed with stage
in 46 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment