diff options
author | Jeremy Allison <jra@samba.org> | 2004-12-07 18:25:53 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-12-07 18:25:53 +0000 |
commit | 65b7a21d331b7f0cfbc6bd6545adde00ce2826fa (patch) | |
tree | fcd3f6d39e40486c4042636106a700b4c263de25 /source/smbd/conn.c | |
parent | a411fc03345bf9b152536f0d33b460d5c89c2b30 (diff) | |
download | samba-65b7a21d331b7f0cfbc6bd6545adde00ce2826fa.tar.gz samba-65b7a21d331b7f0cfbc6bd6545adde00ce2826fa.tar.xz samba-65b7a21d331b7f0cfbc6bd6545adde00ce2826fa.zip |
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
Diffstat (limited to 'source/smbd/conn.c')
-rw-r--r-- | source/smbd/conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/conn.c b/source/smbd/conn.c index 34e19a3ca6b..6b5942f7f66 100644 --- a/source/smbd/conn.c +++ b/source/smbd/conn.c @@ -132,7 +132,7 @@ find_again: return NULL; } - if ((conn=(connection_struct *)talloc_zero(mem_ctx, sizeof(*conn)))==NULL) { + if ((conn=TALLOC_ZERO_P(mem_ctx, connection_struct))==NULL) { DEBUG(0,("talloc_zero() failed!\n")); return NULL; } |