summaryrefslogtreecommitdiff
path: root/source4/lib/charcnv.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-09-27 10:13:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:22 -0500
commit073e9af19bb1d913aa0704c142ee6b56e05030e3 (patch)
treead7891824106ac3fe7d35c7dfe4b71a6d7cc72a8 /source4/lib/charcnv.c
parent8c039e5c911824ca3620ab5dc70cccbb50f58c3a (diff)
downloadsamba-073e9af19bb1d913aa0704c142ee6b56e05030e3.tar.gz
samba-073e9af19bb1d913aa0704c142ee6b56e05030e3.tar.bz2
samba-073e9af19bb1d913aa0704c142ee6b56e05030e3.zip
r2684: Free the right talloc context (don't panic when encountering illegal multibyte
sequences) (This used to be commit b90da2337b83eb261a8072f9d0b13ec28caf3c4d)
Diffstat (limited to 'source4/lib/charcnv.c')
-rw-r--r--source4/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/charcnv.c b/source4/lib/charcnv.c
index 33c49504d8..7d00c7e78f 100644
--- a/source4/lib/charcnv.c
+++ b/source4/lib/charcnv.c
@@ -234,7 +234,7 @@ convert:
break;
}
DEBUG(0,("Conversion error: %s(%s)\n",reason,inbuf));
- talloc_free(outbuf);
+ talloc_free(ob);
/* smb_panic(reason); */
return (size_t)-1;
}