libcli/smb: keep references to smbXcli_{conn,session,tcon} in tstream_smbXcli_np
authorStefan Metzmacher <metze@samba.org>
Tue, 11 Mar 2014 13:29:46 +0000 (14:29 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 24 Mar 2014 23:45:28 +0000 (00:45 +0100)
commit96e1bcde2bfb5bac8363078a70272893a27b93eb
treea6196528880b30f0725aa00e0dd1ab19b4eab2a1
parentea53ba15ee579c4368e7bdae2875c6a3af73afa3
libcli/smb: keep references to smbXcli_{conn,session,tcon} in tstream_smbXcli_np

This fixes some valgrind errors when the smbXcli_tcon disappears before the
smbXcli_conn.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/smb/tstream_smbXcli_np.c