Closed rosen0510 closed 6 years ago
In fishhook, entries are not removed. Then, we keep them in memory forever.
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
new_entry->rebindings = (struct rebinding *) malloc(sizeof(struct rebinding) * nel);
This malloc region didn't free in appropriate position