rizin icon indicating copy to clipboard operation
rizin copied to clipboard

Memory leaks caused by usage of rz_type_func_save()

Open pelijah opened this issue 1 year ago • 0 comments

Calling rz_type_func_save() may cause a memory leak if typedb->callables storage already contains RzCallable with the same name. In this case typedb->callables doesn't take ownership of the RzCallable object and it leaks.

pelijah avatar Aug 16 '23 19:08 pelijah