Fix memory leak
This commit is contained in:
parent
e9a3dc6ec7
commit
6238291ab3
1 changed files with 2 additions and 0 deletions
|
|
@ -206,6 +206,8 @@ int main(int argc, char **argv)
|
|||
// Cleanup
|
||||
destroy_instruction_information_hashtable(&instruction_informations);
|
||||
shash_destroy_hashtable(&label_table);
|
||||
free(target_code.buffer);
|
||||
free(tokens.buffer);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue