svn commit: samba r2738 - in branches/SAMBA_4_0/source/torture/raw:
.
tridge at samba.org
tridge at samba.org
Tue Sep 28 21:42:49 GMT 2004
Author: tridge
Date: 2004-09-28 21:42:49 +0000 (Tue, 28 Sep 2004)
New Revision: 2738
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture/raw&rev=2738&nolog=1
Log:
free up the session information as soon as it is invalidated in the
RAW-CONTEXT test case
Modified:
branches/SAMBA_4_0/source/torture/raw/context.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/context.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/context.c 2004-09-28 21:41:33 UTC (rev 2737)
+++ branches/SAMBA_4_0/source/torture/raw/context.c 2004-09-28 21:42:49 UTC (rev 2738)
@@ -173,6 +173,7 @@
printf("logoff the new vuid\n");
status = smb_raw_ulogoff(session);
CHECK_STATUS(status, NT_STATUS_OK);
+ talloc_free(session);
printf("the new vuid should not now be accessible\n");
status = smb_raw_write(tree, &wr);
@@ -186,7 +187,6 @@
CHECK_STATUS(status, NT_STATUS_INVALID_HANDLE);
talloc_free(tree);
- talloc_free(session);
done:
return ret;
More information about the samba-cvs
mailing list