From: Matthias Kramm Date: Sat, 7 Feb 2009 22:43:35 +0000 (+0100) Subject: strdup CDATA X-Git-Tag: release-0-9-0~138 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=f4992808059471b4f7f0f75f0b2f526d37d7715f;p=swftools.git strdup CDATA --- diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index 63f586d..c84e3b3 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -281,6 +281,7 @@ static void handleCData(char*s, int len) { a3_lval.str.str = s+9; // + a3_lval.str.str = strdup_n(a3_lval.str.str, a3_lval.str.len); } static void handleString(char*s, int len)