diff --git a/source4/lib/charcnv.c b/source4/lib/charcnv.c index 33c49504d85..7d00c7e78f2 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; }