X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fcode.c;h=d5c3acf698a1227b89fc12d3db41f170f2fb51d9;hb=af10e7690da33fe79627b0bf1946ac8969486841;hp=4f7e2550802ea9ea888b7ffb5560fcb2f2b65a09;hpb=acd4d2f4ebdd984129651a6f449e008549985022;p=swftools.git diff --git a/lib/as3/code.c b/lib/as3/code.c index 4f7e255..d5c3acf 100644 --- a/lib/as3/code.c +++ b/lib/as3/code.c @@ -1138,6 +1138,7 @@ code_t*code_cutlast(code_t*c) code_t* cut_last_push(code_t*c) { + assert(!c->next); while(c) { if(!c) break; opcode_t*op = opcode_get(c->opcode);