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 sbuf_split_at() #19

Open
bit4 opened this issue Mar 4, 2023 · 0 comments · May be fixed by #27
Open

Memory leak in sbuf_split_at() #19

bit4 opened this issue Mar 4, 2023 · 0 comments · May be fixed by #27

Comments

@bit4
Copy link

bit4 commented Mar 4, 2023

There seems to be a memory leak in stringbuf.c:sbuf_split_at(). The function returns without freeing "res" if "pos" is negative.

thomcc added a commit to thomcc/isocline that referenced this issue Jun 6, 2024
@thomcc thomcc linked a pull request Jun 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant