s3:smbd: allocate out_context_blobs with talloc
commitaf846264d89f21ac7db8d0cdf6e861ba9cc74151
authorRalph Boehme <slow@samba.org>
Fri, 28 Nov 2014 10:44:09 +0000 (28 11:44 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 4 Dec 2014 21:11:07 +0000 (4 22:11 +0100)
tree3922706e03d78e3264f6bb34a91c47b1e2c6ebb0
parentb65e37dc01d7afa007768f7cadfcf3b7c1007664
s3:smbd: allocate out_context_blobs with talloc

By tallocing the out_context_blobs instead of using an automatic stack
variable, we can use out_context_blobs as talloc parent for individual
create tag that we add via smb2_create_blob_add().

This is in preperation of a SMB_VFS_CREATE_FILE modification where I add
the in and out_context_blobs as additional args. With this change in
place we can add create tags to out_context_blobs from there too.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_create.c