nwrap: fix leaking the entlists
authorMichael Adam <obnox@samba.org>
Thu, 19 Nov 2015 00:00:16 +0000 (01:00 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:32 +0000 (12:25 +0100)
commit159fdb01856d26d118e7862cd30175571c973682
treeebf199818d00b85e809f0c9da3de78d0cae7c4a7
parentbf496153bc280ed58ee25de599b08446bebf738e
nwrap: fix leaking the entlists

Track the list heads in a vector in the newrap_he_global
struct and free the structures upon nwrap_he_unload.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/nss_wrapper/nss_wrapper.c