mirror of
https://github.com/nginx/nginx.git
synced 2025-06-17 17:20:42 +08:00
fix r1879
This commit is contained in:
parent
61adfb287f
commit
18be913cb6
@ -215,6 +215,7 @@ ngx_resolve_name(ngx_resolver_ctx_t *ctx)
|
|||||||
|
|
||||||
if (ctx->event) {
|
if (ctx->event) {
|
||||||
ngx_resolver_free_locked(r, ctx->event);
|
ngx_resolver_free_locked(r, ctx->event);
|
||||||
|
ctx->event = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* unlock alloc mutex */
|
/* unlock alloc mutex */
|
||||||
|
Loading…
Reference in New Issue
Block a user