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

String Safety #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

String Safety #20

wants to merge 2 commits into from

Conversation

bolognam
Copy link

Use strdup for string safety.

@topolarity also saw that lib wasn't being handled properly, and that if this function doesn't finish then there's a memory leak.

deps/mexjulia.cpp Outdated Show resolved Hide resolved
@topolarity
Copy link

if this function doesn't finish then there's a memory leak.

I actually misunderstood and thought that we had an obligation to free the arguments passed into this function - We don't, so this is fine 👍

Co-authored-by: Cody Tapscott <[email protected]>
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 this pull request may close these issues.

2 participants