Skip to content

Commit

Permalink
cstool: fix memleak to prevent ASAN from complaining (capstone-engine…
Browse files Browse the repository at this point in the history
  • Loading branch information
ret2libc authored and aquynh committed Jul 24, 2018
1 parent 2fc852d commit e8a818d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cstool/cstool.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ int main(int argc, char **argv)
}

cs_close(&handle);
free(assembly);

return 0;
}

0 comments on commit e8a818d

Please sign in to comment.