svn commit: samba r3055 - in
branches/SAMBA_4_0/source/ntvfs/simple: .
tridge at samba.org
tridge at samba.org
Tue Oct 19 06:32:26 GMT 2004
Author: tridge
Date: 2004-10-19 06:32:26 +0000 (Tue, 19 Oct 2004)
New Revision: 3055
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/simple&rev=3055&nolog=1
Log:
use talloc_zero_p()
Modified:
branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c 2004-10-19 06:31:37 UTC (rev 3054)
+++ branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c 2004-10-19 06:32:26 UTC (rev 3055)
@@ -799,7 +799,7 @@
return NT_STATUS_NOT_SUPPORTED;
}
- search = talloc_zero(private, sizeof(struct search_state));
+ search = talloc_zero_p(private, struct search_state);
if (!search) {
return NT_STATUS_NO_MEMORY;
}
More information about the samba-cvs
mailing list