diff options
Diffstat (limited to 'src/dump.c')
| -rw-r--r-- | src/dump.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dump.c b/src/dump.c index c32703a17..374f709ee 100644 --- a/src/dump.c +++ b/src/dump.c @@ -409,8 +409,7 @@ write_pool_block(mrb_state *mrb, mrb_irep *irep, char *buf, int type) } error_exit: - if (char_buf) - mrb_free(mrb, char_buf); + mrb_free(mrb, char_buf); return (int)(buf - buf_top); } @@ -455,8 +454,7 @@ write_syms_block(mrb_state *mrb, mrb_irep *irep, char *buf, int type) } error_exit: - if (char_buf) - mrb_free(mrb, char_buf); + mrb_free(mrb, char_buf); return (int)(buf - buf_top); } |
