Fix another memleak that may be properly fixed with reftype in 5.9
This commit is contained in:
parent
719b59cdd0
commit
168088927f
|
@ -3176,6 +3176,7 @@ R_API bool r_core_init(RCore *core) {
|
|||
|
||||
r_bin_bind (core->bin, &(core->anal->binb));
|
||||
r_bin_bind (core->bin, &(core->anal->arch->binb));
|
||||
r_num_free (core->anal->arch->num);
|
||||
core->anal->arch->num = core->num;
|
||||
r_io_bind (core->io, &(core->search->iob));
|
||||
r_io_bind (core->io, &(core->print->iob));
|
||||
|
|
|
@ -55,6 +55,7 @@ typedef struct r_num_t {
|
|||
void *userptr;
|
||||
int dbz; /// division by zero happened
|
||||
RNumCalc nc;
|
||||
// R2_590 R_REF_TYPE
|
||||
} RNum;
|
||||
|
||||
typedef ut64 (*RNumCallback)(struct r_num_t *self, const char *str, int *ok);
|
||||
|
|
Loading…
Reference in New Issue