summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-10-02 21:57:27 -0700
committerAndrew Tridgell <tridge@samba.org>2008-10-02 21:57:27 -0700
commitbfb3bf6eb0ac1790c79e5b57cda099503f6084d5 (patch)
tree00ea9533e8e04f481e1efaa87be407305bd8e50d
parent89a67bb60c3b88d5054a81085fb400930cfd5c55 (diff)
downloadsamba-bfb3bf6eb0ac1790c79e5b57cda099503f6084d5.tar.gz
samba-bfb3bf6eb0ac1790c79e5b57cda099503f6084d5.tar.bz2
samba-bfb3bf6eb0ac1790c79e5b57cda099503f6084d5.zip
fixed a talloc error in the rpc handle desctructor - destructors
should not try to free the ptr they are given
-rw-r--r--source4/rpc_server/handles.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/rpc_server/handles.c b/source4/rpc_server/handles.c
index 47174b6eeb..4831fb063d 100644
--- a/source4/rpc_server/handles.c
+++ b/source4/rpc_server/handles.c
@@ -29,7 +29,6 @@
static int dcesrv_handle_destructor(struct dcesrv_handle *h)
{
DLIST_REMOVE(h->context->handles, h);
- talloc_free(h);
return 0;
}