Skip to content
New issue

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

Memory leak in SSLexLexeme #15

Closed
bero opened this issue Aug 25, 2023 · 0 comments
Closed

Memory leak in SSLexLexeme #15

bero opened this issue Aug 25, 2023 · 0 comments

Comments

@bero
Copy link
Member

bero commented Aug 25, 2023

Problem
SSLexLexeme.Create allocate Length + 1 bytes
Destroy free only length bytes.

This makes a memory leak of one byte per instance. As this class is used extensively in OCL this adds up during the time

bero added a commit that referenced this issue Aug 29, 2023
GetMem allocate one byte more than is freed with Freemem
@bero bero closed this as completed Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant