1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-27 05:30:23 +02:00

Properly correct read of freed memory

This commit is contained in:
pcpa 2015-03-08 16:22:10 -03:00
parent 20955b2bfc
commit 1507bc7ee5
3 changed files with 17 additions and 7 deletions

View file

@ -30,10 +30,10 @@ int main(int argc, char *argv[])
/* call the generated code, passing its size as argument */
myFunction((char*)jit_address(end) - (char*)jit_address(start));
jit_clear_state();
jit_disassemble();
jit_clear_state();
jit_destroy_state();
finish_jit();
return 0;