use defer to unlock mutex
use defer to unlock mutex

use defer to unlock mutex (clean up)

Signed-off-by: Anyu Wang <a05287961b0ffbbe33aeb0ef4c77c46253d89eed@outlook.com>
Signed-off-by: rainrambler <a05287961b0ffbbe33aeb0ef4c77c46253d89eed@outlook.com>
Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

djs55/docker,cpuguy83/docker,Mokolea/docker,moul/docker,flavio/docker,bearstech/moby,Ramzec/docker,trebonian/docker,Mokolea/docker,paralin/docker,nawawi/docker,konstruktoid/docker-upstream,moul/docker,paralin/docker,trebonian/docker,jthelin/docker,djs55/docker,mahak/docker,mahak/docker,nawawi/docker,yosifkit/docker,vdemeester/docker,yosifkit/docker,cpuguy83/docker,moby/moby,thaJeztah/docker,paralin/docker,nalind/docker,thaJeztah/docker,jthelin/docker,jameszhan/docker,gnailuy/docker,nawawi/docker,bearstech/moby,yosifkit/docker,mahak/docker,konstruktoid/docker-upstream,flavio/docker,cpuguy83/docker,nalind/docker,flavio/docker,gnailuy/docker,bearstech/moby,thaJeztah/docker,yosifkit/docker,nawawi/docker,moul/docker,nalind/docker,Mokolea/docker,gnailuy/docker,trebonian/docker,jameszhan/docker,docker/docker,mahak/docker,Ramzec/docker,paralin/docker,konstruktoid/docker-upstream,trebonian/docker,Ramzec/docker,Ramzec/docker,cpuguy83/docker,moul/docker,djs55/docker,jameszhan/docker,Mokolea/docker,moby/moby,jimjag/docker,konstruktoid/docker-upstream,docker/docker,thaJeztah/docker,gnailuy/docker,moby/moby,bearstech/moby,nalind/docker,docker/docker,jimjag/docker,moby/moby,vdemeester/docker,jimjag/docker,vdemeester/docker,jimjag/docker,flavio/docker