Changeset 1508
- Timestamp:
- 01/13/08 22:50:15 (9 months ago)
- Files:
-
- libemu/trunk/testsuite/sctest.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libemu/trunk/testsuite/sctest.c
r1507 r1508 1882 1882 emu_env_w32_free(env); 1883 1883 emu_env_linux_free(lenv); 1884 emu_free(e); 1884 emu_hashtable_free(eh); 1885 emu_graph_free(graph); 1885 1886 return 0; 1886 1887 } … … 1987 1988 1988 1989 graph->vertex_destructor = instr_vertex_destructor; 1989 emu_graph_free(graph);1990 // emu_graph_free(graph); 1990 1991 graph = sgraph; 1991 1992 … … 2076 2077 2077 2078 graph->vertex_destructor = instr_vertex_destructor; 2078 emu_graph_free( graph);2079 emu_graph_free(sgraph); 2079 2080 // emu_hashtable_free(eh); 2080 2081 … … 2378 2379 2379 2380 emu_cpu_eip_set(cpu, cargos_lib_csi_regv(calib, CARGOS_LIB_EIP).val32); 2381 return 0; 2382 #else 2383 printf("compiled without support for argos csi (libcargos)\n"); 2384 return -1; 2380 2385 #endif 2381 return 0;2386 2382 2387 } 2383 2388 … … 2493 2498 2494 2499 struct emu *e = emu_new(); 2495 prepare(e);2496 test(e);2500 if ( prepare(e) == 0 ) 2501 test(e); 2497 2502 2498 2503 2504 emu_free(e); 2499 2505 2500 2506 // dump_export_table(); 2507 if (opts.from_argos_csi) 2508 free(opts.from_argos_csi); 2509 2510 if (opts.graphfile) 2511 free(opts.graphfile); 2512 2513 2501 2514 return 0; 2502 2515 }
