Refactor calloc() NULL checks in init
Refactor calloc() NULL checks in init

Proactively check for NULL right after each calloc() instead of doing
three callocs without checks, and then checking all of them at once.

mossberg/librequests