mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +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 commit is contained in:
parent
91eb405354
commit
07596d8721
@ -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…
x
Reference in New Issue
Block a user