-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
luaL_ref failures result in leaked memory #6
Labels
Comments
4e95fff also introduces a ref leak if any functions longjmp out. They should be fixed along with this issue. |
daurnimator
added a commit
that referenced
this issue
Nov 4, 2017
daurnimator
added a commit
that referenced
this issue
Nov 4, 2017
…up and dispatch functions Related to #6
daurnimator
added a commit
that referenced
this issue
Nov 4, 2017
daurnimator
added a commit
that referenced
this issue
Nov 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If
luaL_ref
fails, then lualongjmp
s out of the code, meaning that callback data does not get freed.Fixing this should require a very different structure for holding references to callback functions.
The text was updated successfully, but these errors were encountered: