diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-17 08:32:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:50:54 +0100 |
commit | 01b96e47cd77c345ac27c4c882e353852e49f22b (patch) | |
tree | 8ecaaa7fa3d542fff25ace2a4086e3ba0dbcfc89 /source4/torture | |
parent | 83655ec0dd58c21cdb99d5e7c8008b4b3087449b (diff) | |
download | samba-01b96e47cd77c345ac27c4c882e353852e49f22b.tar.gz samba-01b96e47cd77c345ac27c4c882e353852e49f22b.tar.bz2 samba-01b96e47cd77c345ac27c4c882e353852e49f22b.zip |
r26498: Fix memory leak in iconv code.
(This used to be commit 8795697db56e4ca6715950d68f5ec370604fcc76)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbiconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbiconv.c b/source4/torture/smbiconv.c index 1eb09cae45..4eece66bdf 100644 --- a/source4/torture/smbiconv.c +++ b/source4/torture/smbiconv.c @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) } } - cd = smb_iconv_open(to, from, lp_parm_bool(tctx->lp_ctx, NULL, "iconv", "native", true)); + cd = smb_iconv_open_ex(tctx, to, from, lp_parm_bool(tctx->lp_ctx, NULL, "iconv", "native", true)); if((int)cd == -1) { DEBUG(0,("unable to find from or to encoding, exiting...\n")); return 1; |