mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix segfault if UDP connect() has failed
This commit is contained in:
parent
704e1c1324
commit
4d856ca763
@ -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…
Reference in New Issue
Block a user