From 2fee0434d78f56f883087de33f8d16c3d1900ff0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 10 Jan 2017 09:48:33 +0100 Subject: [PATCH] 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 (cherry picked from commit dde30ab89c276474d19b584c6def6f25ed5cc678) --- source3/winbindd/winbindd_list_users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0