From 073e9af19bb1d913aa0704c142ee6b56e05030e3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 27 Sep 2004 10:13:41 +0000 Subject: r2684: Free the right talloc context (don't panic when encountering illegal multibyte sequences) (This used to be commit b90da2337b83eb261a8072f9d0b13ec28caf3c4d) --- source4/lib/charcnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') 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; } -- cgit