svn commit: samba r2684 - in branches/SAMBA_4_0/source/lib: .

jelmer at samba.org jelmer at samba.org
Mon Sep 27 10:13:41 GMT 2004


Author: jelmer
Date: 2004-09-27 10:13:41 +0000 (Mon, 27 Sep 2004)
New Revision: 2684

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib&rev=2684&nolog=1

Log:
Free the right talloc context (don't panic when encountering illegal multibyte
sequences)

Modified:
   branches/SAMBA_4_0/source/lib/charcnv.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/charcnv.c
===================================================================
--- branches/SAMBA_4_0/source/lib/charcnv.c	2004-09-27 09:26:37 UTC (rev 2683)
+++ branches/SAMBA_4_0/source/lib/charcnv.c	2004-09-27 10:13:41 UTC (rev 2684)
@@ -234,7 +234,7 @@
 				break;
 		}
 		DEBUG(0,("Conversion error: %s(%s)\n",reason,inbuf));
-		talloc_free(outbuf);
+		talloc_free(ob);
 		/* smb_panic(reason); */
 		return (size_t)-1;
 	}



More information about the samba-cvs mailing list