Skip to content

Commit c833ae5

Browse files
committed
small bugfix
1 parent bc10b63 commit c833ae5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ngx_dynamic_upstream_op.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,9 @@ template <class PeerT> struct GC
841841
ngx_slab_free(shpool, peer->server.data);
842842
ngx_slab_free(shpool, peer->name.data);
843843
ngx_slab_free(shpool, peer->sockaddr);
844+
845+
lock.release();
846+
844847
ngx_slab_free(shpool, peer);
845848

846849
return NGX_OK;

0 commit comments

Comments
 (0)