s3: Always allocate memory in dptr_ReadDirName
commit1718e803dc9269f8ba0db4260cc3b8a000da248a
authorAravind Srinivasan <aravind.srinivasan@isilon.com>
Mon, 11 May 2009 22:39:05 +0000 (11 22:39 +0000)
committerTim Prouty <tprouty@samba.org>
Tue, 19 May 2009 04:50:07 +0000 (18 21:50 -0700)
tree7cac516d3d788add46b5f0567dd5897029dd0fbb
parentd38e5d18a7ad5db0ace78afe3b42ec5f5174752b
s3: Always allocate memory in dptr_ReadDirName

This is a follow up to 69d61453df6019caef4e7960fa78c6a3c51f3d2a to
adjust the API to allow the lower layers allocate memory.  Now the
memory can explicitly be freed rather than relying on talloc_tos().

Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/include/proto.h
source3/smbd/dir.c
source3/smbd/trans2.c