summaryrefslogtreecommitdiff
path: root/source4/smbd/process_standard.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_standard.c')
-rw-r--r--source4/smbd/process_standard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index 1d254f3927..e013f9cd0e 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -195,9 +195,9 @@ _NORETURN_ static void standard_terminate(struct event_context *ev, const char *
{
DEBUG(2,("standard_terminate: reason[%s]\n",reason));
- /* this close_iconv() has the effect of freeing the iconv context memory,
+ /* this reload_charcnv() has the effect of freeing the iconv context memory,
which makes leak checking easier */
- close_iconv();
+ reload_charcnv();
/* the secrets db should really hang off the connection structure */
secrets_shutdown();