From: Stefan Metzmacher Date: Tue, 10 Jan 2017 08:48:33 +0000 (+0100) Subject: s3:winbindd: talloc_steal the extra_data in winbindd_list_users_recv() X-Git-Tag: talloc-2.1.9~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde30ab89c276474d19b584c6def6f25ed5cc678;p=thirdparty%2Fsamba.git s3:winbindd: talloc_steal the extra_data in winbindd_list_users_recv() BUG: https://bugzilla.samba.org/show_bug.cgi?id=12501 Pair-Programmed-With: Andreas Schneider Signed-off-by: Stefan Metzmacher Signed-off-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_list_users.c b/source3/winbindd/winbindd_list_users.c index 4a4343e6658..9a751a75c5b 100644 --- a/source3/winbindd/winbindd_list_users.c +++ b/source3/winbindd/winbindd_list_users.c @@ -174,7 +174,7 @@ NTSTATUS winbindd_list_users_recv(struct tevent_req *req, len = talloc_get_size(result); - response->extra_data.data = result; + response->extra_data.data = talloc_steal(response, result); response->length += len; response->data.num_entries = 0;