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

may the gcc not surpported #31

Open
abasi20 opened this issue Aug 24, 2021 · 0 comments
Open

may the gcc not surpported #31

abasi20 opened this issue Aug 24, 2021 · 0 comments

Comments

@abasi20
Copy link

abasi20 commented Aug 24, 2021

image
my gcc's version is 11.2.1. when the process end, it will raise a segment fault. following the code , it found that freeing curr or next buffers will return a pointer of type T, the compiler may access the mem, resulting in a segment.

image

modify the return value as void。

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