s3: rpc_server/srvsvc: Ensure we don't continually realloc inside init_srv_sess_info_1().
authorJeremy Allison <jra@samba.org>
Thu, 16 Jan 2014 18:43:30 +0000 (10:43 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 17 Jan 2014 22:12:48 +0000 (14:12 -0800)
commit090f010006a0105a070ee4e0347a877814200d19
treefe822ff0788d674d408063b3e324eb358a3001ab
parentda891e2101c568d2f0b9a2bda78702826ea68f3c
s3: rpc_server/srvsvc: Ensure we don't continually realloc inside init_srv_sess_info_1().

Just allocate the return value directly. Makes iteration of open files much easier.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/srvsvc/srv_srvsvc_nt.c