s4:rpc_server Ensure we talloc_free handles when we delete objects
commita0a787ad78a72b1bb9e7f9f7f28d18a4023a666b
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 05:07:22 +0000 (21 16:07 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 11:43:56 +0000 (21 22:43 +1100)
tree734b50f65d38ef6a2071ac62efee33aabc5ba256
parent398188fb9b0d81552d0eb3dba9fcf0695ea539ff
s4:rpc_server Ensure we talloc_free handles when we delete objects

If we don't talloc_free the handle, we leak the memory onto the long-term
context.

Andrew Bartlett
source4/rpc_server/samr/dcesrv_samr.c