Author: tridge Date: 2005-12-02 03:18:34 +0000 (Fri, 02 Dec 2005) New Revision: 12007
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12007 Log: fixed a valgrind error in the SMB2-SETINFO test Modified: branches/SAMBA_4_0/source/torture/smb2/setinfo.c Changeset: Modified: branches/SAMBA_4_0/source/torture/smb2/setinfo.c =================================================================== --- branches/SAMBA_4_0/source/torture/smb2/setinfo.c 2005-12-02 03:17:40 UTC (rev 12006) +++ branches/SAMBA_4_0/source/torture/smb2/setinfo.c 2005-12-02 03:18:34 UTC (rev 12007) @@ -44,6 +44,8 @@ time_t basetime = (time(NULL) - 86400) & ~1; int n = time(NULL) % 100; + ZERO_STRUCT(handle); + fname = talloc_asprintf(mem_ctx, BASEDIR "fnum_test_%d.txt", n); fname_new = talloc_asprintf(mem_ctx, BASEDIR "fnum_test_new_%d.txt", n);
