1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

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 07596d8721)
This commit is contained in:
Andrew Tridgell 2004-11-07 10:00:32 +00:00 committed by Gerald (Jerry) Carter
parent e34ee4fdaa
commit 70bb74eefd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)