summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-07 10:00:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:36 -0500
commit70bb74eefd364908ec1234dd5a3ecf7090f7fad5 (patch)
treebda11015a17e600ba09a00324eefa781aed19cc8 /source4/smb_server
parente34ee4fdaa4f8b6ae7167b663c2acda2654f2895 (diff)
downloadsamba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.tar.gz
samba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.tar.bz2
samba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.zip
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)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/request.c b/source4/smb_server/request.c
index 141d2652a6..fddf63b1f7 100644
--- a/source4/smb_server/request.c
+++ b/source4/smb_server/request.c
@@ -29,7 +29,7 @@
/* we over allocate the data buffer to prevent too many realloc calls */
-#define REQ_OVER_ALLOCATION 256
+#define REQ_OVER_ALLOCATION 0
/* destroy a request structure */
void req_destroy(struct smbsrv_request *req)