s3: Fix the talloc hierarchy in shadow_copy2_connectpath
authorVolker Lendecke <vl@samba.org>
Mon, 14 Mar 2011 17:35:36 +0000 (18:35 +0100)
committerVolker Lendecke <vlendec@samba.org>
Mon, 14 Mar 2011 18:21:11 +0000 (19:21 +0100)
commit746b299ec1b11ea1e70c130b69a9a379ec478750
treefd334151498af784cca3b5d18f1c0eca99c32c2e
parent43e343be8142b26b690c30faabf259205098a008
s3: Fix the talloc hierarchy in shadow_copy2_connectpath

We have to return on talloc_tos() because we don't have a mem_ctx given to us.
So we have to create a separate temporary talloc context.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 19:21:11 CET 2011 on sn-devel-104
source3/modules/vfs_shadow_copy2.c