We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to use this library; in long run, program memory usage becomes inadequately huge. I reviewed code and found following fragment:
__forceinline CsInsClass_t Instructions(__in size_t i) { return *new CsInsClass_t(m_csh, m_csInstructions + i); }
We create instance of CsInsClass_t in heap and return its copy (even not reference), so there are no way to call delete and clean memory.
CsInsClass_t
delete
Each time we try to disassemble instruction, we get memory leak.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I try to use this library; in long run, program memory usage becomes inadequately huge. I reviewed code and found following fragment:
We create instance of
CsInsClass_t
in heap and return its copy (even not reference), so there are no way to calldelete
and clean memory.Each time we try to disassemble instruction, we get memory leak.
The text was updated successfully, but these errors were encountered: