Skip to content

Commit

Permalink
Fix memleak in define_cast_from_value macro
Browse files Browse the repository at this point in the history
  • Loading branch information
pelijah committed Mar 30, 2024
1 parent d9d066a commit 667221d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librz/util/float/float.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ RZ_API RZ_OWN RzFloat *rz_float_dup(RZ_NONNULL RzFloat *f) {
if (!expbv) { \
return false; \
} \
rz_bv_free(f->s); \
f->s = pack_float_bv(is_negative, expbv, manbv, f->r); \
rz_bv_free(manbv); \
rz_bv_free(expbv); \
Expand Down

0 comments on commit 667221d

Please sign in to comment.