Core: improved ngx_pstrdup() error handling.