-
Notifications
You must be signed in to change notification settings - Fork 973
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
we find a memory leak in fishhook function "prepend_rebindings",line 67 #48
Comments
In fishhook, entries are not removed. |
The "new_enry->rebindings" can't be accessed in anywhere after that function, why don't you free it ? It's there any special reason ? |
It can be accessed via new_entry. |
But in function "rebind_symbos_image" ,line 190, you freed the "rebinds_head" which is the same as "new_entry". |
Could you send a pull request to solve it then? |
ok |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
new_entry->rebindings = (struct rebinding *) malloc(sizeof(struct rebinding) * nel);
This malloc region didn't free in appropriate position
The text was updated successfully, but these errors were encountered: