mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
fix segfault if UDP connect() has failed
This commit is contained in:
parent
704e1c1324
commit
4d856ca763
1 changed files with 0 additions and 2 deletions
|
|
@ -217,8 +217,6 @@ ngx_resolve_name(ngx_resolver_ctx_t *ctx)
|
|||
ngx_resolver_free_locked(r, ctx->event);
|
||||
}
|
||||
|
||||
ngx_resolver_free_locked(r, ctx);
|
||||
|
||||
/* unlock alloc mutex */
|
||||
|
||||
return NGX_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue