swrap: Update free-list only when refcount is zero
authorAnoop C S <anoopcs@redhat.com>
Wed, 31 Jan 2018 17:16:23 +0000 (22:46 +0530)
committerAndreas Schneider <asn@samba.org>
Wed, 2 May 2018 14:31:42 +0000 (16:31 +0200)
commitda1fe44b27ce2dc66d795637c13bc13b2a657b79
treee549a8e2caa47220eb23703bf138394a281e28ff
parent7299ab3541c94f38ee62a9d39348bbeb438bfc1a
swrap: Update free-list only when refcount is zero

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c