Fix a valgrind error in cli_ctemp_done
authorVolker Lendecke <vl@samba.org>
Mon, 27 Jul 2009 10:36:31 +0000 (12:36 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 27 Jul 2009 10:47:20 +0000 (12:47 +0200)
commite8abc36d2a8c611ecfefa9ef8e798cf2b072a432
treeeca37bd6d5f683c6abda12ed77503e3925914d4c
parentfb03bbfa09c9df01c349f19a28c05f9bfd1cf4dc
Fix a valgrind error in cli_ctemp_done

For performance reasons cli_smb_recv does not make copies of the buffers we
received from the client, so both "vwv" and "bytes" vanish with
TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in
this case it's justified not to make copies.

Comments?
source3/libsmb/clifile.c