diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-09-27 03:41:29 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-17 12:38:08 +0100 |
commit | 0ed93e099af833045d9d00b9a8faeb5b93b6ef2e (patch) | |
tree | 4d79362476c3b6f3e772d2220f04ecb0902f6d67 /source3/lib/tldap.c | |
parent | 7502a309e8b817036c1ddc38740c214ae416bf29 (diff) | |
download | samba-0ed93e099af833045d9d00b9a8faeb5b93b6ef2e.tar.gz samba-0ed93e099af833045d9d00b9a8faeb5b93b6ef2e.tar.xz samba-0ed93e099af833045d9d00b9a8faeb5b93b6ef2e.zip |
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.
Note that some callers used their own destructor for their
tevent_req instance, they'll just overwrite this,
which is not intended, but works without problems.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/lib/tldap.c')
0 files changed, 0 insertions, 0 deletions