diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-14 04:27:14 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-14 04:27:14 +0000 |
commit | 70d6d8ac811b2bb6d796469c5a4eb1020d41b43a (patch) | |
tree | 4fc8ff0d5b033d12f216ebee19f355abe8b61a7f /compile.c | |
parent | 79029ea7539ca12197e6efd972db14db3271b6db (diff) |
simply call xfree().
* compile.c (BADINSN_ERROR): mixing (void) and (int) will fail solaris
compiler. [ruby-core:81668], [Bug #13658]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1566,8 +1566,8 @@ get_ivar_ic_value(rb_iseq_t *iseq,ID id) dump_disasm_list_with_cursor(&anchor->anchor, list, dest) #define BADINSN_ERROR \ - (generated_iseq ? xfree(generated_iseq) : 0, \ - line_info_table ? xfree(line_info_table) : 0, \ + (xfree(generated_iseq), \ + xfree(line_info_table), \ BADINSN_DUMP(anchor, list, NULL), \ COMPILE_ERROR) |