summaryrefslogtreecommitdiff
path: root/source4/lib/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/iconv.c')
-rw-r--r--source4/lib/iconv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/iconv.c b/source4/lib/iconv.c
index fb997cf8f1..567f5b5902 100644
--- a/source4/lib/iconv.c
+++ b/source4/lib/iconv.c
@@ -187,9 +187,6 @@ smb_iconv_t smb_iconv_open(const char *tocode, const char *fromcode)
}
memset(ret, 0, sizeof(*ret));
- ret->from_name = talloc_strdup(ret, fromcode);
- ret->to_name = talloc_strdup(ret, tocode);
-
/* check for the simplest null conversion */
if (strcmp(fromcode, tocode) == 0) {
ret->direct = iconv_copy;