fixed a talloc error in the rpc handle desctructor - destructors
authorAndrew Tridgell <tridge@samba.org>
Fri, 3 Oct 2008 04:57:27 +0000 (21:57 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 3 Oct 2008 04:57:27 +0000 (21:57 -0700)
should not try to free the ptr they are given

source4/rpc_server/handles.c

index 47174b6eeb8b942eb253596eb8eb029a3ecf83f7..4831fb063da91551f847ac2af496fce4fe034f41 100644 (file)
@@ -29,7 +29,6 @@
 static int dcesrv_handle_destructor(struct dcesrv_handle *h)
 {
        DLIST_REMOVE(h->context->handles, h);
-       talloc_free(h);
        return 0;
 }