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
This commit is contained in:
parent
79029ea753
commit
70d6d8ac81
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user