s4-libnet: Fix memory leak of lsa_RefDomainList and lsa_String onto libnet_ctx
commitefec5a9299455bd53cc770f2bc364f9a6f4f8def
authorAndrew Bartlett <abartlet@samba.org>
Fri, 31 Aug 2012 02:38:41 +0000 (31 12:38 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 31 Aug 2012 04:30:38 +0000 (31 14:30 +1000)
tree55986b6ad3751fa4b3d0f48962638a8fcc2f261b
parenta5d57a04c2e515212cc1f2b51c9a02acb33a79ba
s4-libnet: Fix memory leak of lsa_RefDomainList and lsa_String onto libnet_ctx

These are only needed for as long as the call, and should be children of the
private context.

This was found based on a log provided by Ricky Nance
<ricky.nance@weaubleau.k12.mo.us>.  Thanks Ricky!

Andrew Bartlett
source4/libnet/libnet_lookup.c