From 6e6374cb5bcffb4df8bdb0a83327fff92b61ac84 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 Dec 2004 07:20:30 +0000 Subject: r4055: fixed more places to use type safe allocation macros (This used to be commit eec698254f67365f27b4b7569fa982e22472aca1) --- source4/torture/nbench/nbio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/nbench/nbio.c') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index 34de81c5b3..32bd108442 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -281,7 +281,7 @@ void nb_createx(const char *fname, if (!NT_STATUS_IS_OK(ret)) return; - f = malloc(sizeof(struct ftable)); + f = malloc_p(struct ftable); f->handle = handle; f->fd = io.ntcreatex.out.fnum; -- cgit