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

Add test case for memory leak on wrong main function signature #142

Closed
wants to merge 1 commit into from

Conversation

anjalismith
Copy link
Contributor

Here is the test case for the issue as discussed in #141

@anjalismith anjalismith marked this pull request as draft February 20, 2023 22:20
@anjalismith anjalismith marked this pull request as ready for review February 21, 2023 02:56
@j-hui
Copy link
Contributor

j-hui commented Mar 9, 2023

Summary from before: the problem with this was that the sslang program was only expecting one argument, but the caller (the runtime stub) gave it two, so sslang never dropped the second argument.

@j-hui
Copy link
Contributor

j-hui commented Mar 9, 2023

I'm not really sure what the solution is here. The fact that arguments are passed to main as argument is already not very great, and we would probably want to change that later anyway. I think for now, I will close this PR and then circle back to it later.

@j-hui j-hui closed this Mar 9, 2023
@j-hui j-hui added the wontfix This will not be worked on label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants