fix error-handling for ngx_pcalloc
Merge pull request #92 from cubicdaiya/issues/alloc_error_handling

fix error-handling for ngx_pcalloc