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:
parent
e34ee4fdaa
commit
70bb74eefd
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user