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/smbd | |
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/smbd')
-rw-r--r-- | source4/smbd/process_standard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index 194c6d24cc..a587278b8e 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -97,6 +97,10 @@ static void standard_terminate_connection(struct server_connection *conn, const talloc_free(conn->service->srv_ctx); } + /* this init_iconv() has the effect of freeing the iconv context memory, + which makes leak checking easier */ + init_iconv(); + /* terminate this process */ exit(0); } |