change API cs_disasm_dyn(): break cs_insn into 2 structures, and put all details into new structure cs_detail. this break API compatibility
diff --git a/tests/test_mips.c b/tests/test_mips.c
index 8e2c4b5..53f3bc1 100644
--- a/tests/test_mips.c
+++ b/tests/test_mips.c
@@ -31,7 +31,7 @@
 
 static void print_insn_detail(cs_insn *ins)
 {
-	cs_mips *mips = &(ins->mips);
+	cs_mips *mips = &(ins->detail->mips);
 
 	if (mips->op_count)
 		printf("\top_count: %u\n", mips->op_count);
@@ -116,7 +116,7 @@
 			printf("0x%"PRIx64":\n", insn[j-1].address + insn[j-1].size);
 
 			// free memory allocated by cs_disasm_dyn()
-			cs_free(insn);
+			cs_free(insn, count);
 		} else {
 			printf("****************\n");
 			printf("Platform: %s\n", platforms[i].comment);