From 70bb74eefd364908ec1234dd5a3ecf7090f7fad5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Nov 2004 10:00:32 +0000 Subject: r3591: to get a bit more useful info from valgrind I'm disabling the deliberate over-allocation of request structures in smbd and libcli/raw code for now. (This used to be commit 07596d87213e8ccbf6a0e7bc216d692065f43403) --- source4/libcli/raw/rawrequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/raw') diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c index 0526fec74b..8d0767b3f5 100644 --- a/source4/libcli/raw/rawrequest.c +++ b/source4/libcli/raw/rawrequest.c @@ -28,7 +28,7 @@ #include "dlinklist.h" /* we over allocate the data buffer to prevent too many realloc calls */ -#define REQ_OVER_ALLOCATION 256 +#define REQ_OVER_ALLOCATION 0 /* assume that a character will not consume more than 3 bytes per char */ #define MAX_BYTES_PER_CHAR 3 -- cgit