[PATCH] s3/vfs:stream_depots: Parse substitutions in streams-depot-directory path

Jeremy Allison jra at samba.org
Thu Mar 10 21:50:20 UTC 2016


On Thu, Mar 10, 2016 at 09:40:18PM +0000, Shyam Rathi wrote:
> Hello,
> At present, substitutions in the streams directory path are ignored. Fix it by modifying 'stream_dir' function to call 'lp_parm_talloc_string' which internally calls 'lp_string' on the path.
> 
> Attached patch.

Don't you also need to add a TALLOC_FREE(rootdir);
to the fail: exit path, and also the success path ?



More information about the samba-technical mailing list