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

Mono debugger agent memory leak fix, case 1170031 #1213

Merged
1 commit merged into from
Aug 1, 2019

Conversation

ghost
Copy link

@ghost ghost commented Aug 1, 2019

create_event_list() in the debugger agent was sending in a pointer for a
source file but then never using or freeing it. If we just send in a
NULL, the memory won't be allocated.

create_event_list() in the debugger agent was sending in a pointer for a
source file but then never using or freeing it.  If we just send in a
NULL, the memory won't be allocated.
@ghost ghost requested review from joshpeterson and joncham August 1, 2019 18:38
@ghost ghost self-assigned this Aug 1, 2019
@joshpeterson
Copy link

Is the IL2CPP debugger subject to the same issue?

@ghost ghost merged commit cd72ae2 into unity-master Aug 1, 2019
@ghost ghost deleted the mono-debugger-memory-leak branch August 1, 2019 20:30
@jbevain
Copy link

jbevain commented Aug 1, 2019

@brianradunity any chance you could upstream this great find?

@jbevain
Copy link

jbevain commented Aug 1, 2019

@brianradunity strike that, I'll submit a PR upstream.

@ghost
Copy link
Author

ghost commented Aug 2, 2019

Ok, I was going to check out upstream and see if it still had the same problem. Thanks for beating me to it ;)

This pull request was closed.
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.

3 participants