[PATCHES] some new tevent features

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Dec 12 05:37:38 MST 2013


On Wed, Dec 11, 2013 at 06:45:45PM +0100, Stefan (metze) Metzmacher wrote:
> Hi Volker,
> 
> >>> >From 0a2bce1393e4c8e65b8f69c051c9a236319584b0 Mon Sep 17 00:00:00 2001
> >>> From: Stefan Metzmacher <metze at samba.org>
> >>> Date: Fri, 27 Sep 2013 03:41:29 +0200
> >>> Subject: [PATCH 04/14] tevent: add/use tevent_req_destructor
> >>>
> >>> This makes sure we call tevent_req_received(req) on talloc_free()
> >>> and cleanup things in a defined order.
> >>
> >> Are we 100% sure that no tevent_req user already does this?
> > 
> > I don't understand that question.
> 
> Ok, I got it, we have:
> 
> static int smbXcli_req_destructor(struct tevent_req *req)
> static int fncall_destructor(struct tevent_req *req)
> static int tldap_msg_destructor(struct tevent_req *req)

Thanks for checking. Maybe I was a bit worried because 2 of
those are mine ... :-)

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list