diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-26 06:44:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:17 -0500 |
commit | 3ea916b2278c202c99c80c02e80e588bd7daedb8 (patch) | |
tree | 95cb6b71a66de1101c568b77b32bd636b2a51b1f /source4/libcli/raw/rawrequest.c | |
parent | dbc2346de8b2f213d8bb7e647c4f187c6103e474 (diff) | |
download | samba-3ea916b2278c202c99c80c02e80e588bd7daedb8.tar.gz samba-3ea916b2278c202c99c80c02e80e588bd7daedb8.tar.bz2 samba-3ea916b2278c202c99c80c02e80e588bd7daedb8.zip |
r2654: fixed some more server memory leaks. We are now down to a single leak
of 16 bytes, caused by the 16 byte data_blob in the smb_signing
code.
(This used to be commit 2f1b788e09686e065d22f621f5c0c585192c6740)
Diffstat (limited to 'source4/libcli/raw/rawrequest.c')
-rw-r--r-- | source4/libcli/raw/rawrequest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c index 1ff36d0a8d..a94e796628 100644 --- a/source4/libcli/raw/rawrequest.c +++ b/source4/libcli/raw/rawrequest.c @@ -62,7 +62,7 @@ struct smbcli_request *smbcli_request_setup_nonsmb(struct smbcli_transport *tran { struct smbcli_request *req; - req = talloc_named(NULL, sizeof(struct smbcli_request), "smcli_request"); + req = talloc_p(transport, struct smbcli_request); if (!req) { return NULL; } |