tevent: use talloc_zero_size() for the private state in tevent_context_wrapper_create()
authorStefan Metzmacher <metze@samba.org>
Sat, 14 Jul 2018 08:55:02 +0000 (10:55 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 24 Jul 2018 15:38:25 +0000 (17:38 +0200)
commit9d31bbf9793ca9d2041eb8769511aca6c9684e94
tree39d1e218a493d2ce90363309ecba0d636c757042
parentc390728819e73cefbf02e0d52d22805930f4c45b
tevent: use talloc_zero_size() for the private state in tevent_context_wrapper_create()

This is watch tevent_req_create() uses and what callers of
tevent_context_wrapper_create() would therefore also expect.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/tevent/tevent_wrapper.c