mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix syntax error in obj_free with hash size debug counter when USE_DEBUG_COUNTER is enabled
This commit is contained in:
parent
83b8dfac90
commit
61ff5cd5fd
Notes:
git
2020-01-13 08:03:24 +09:00
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -2653,7 +2653,7 @@ obj_free(rb_objspace_t *objspace, VALUE obj)
|
|||
break;
|
||||
case T_HASH:
|
||||
#if USE_DEBUG_COUNTER
|
||||
switch RHASH_SIZE(obj) {
|
||||
switch (RHASH_SIZE(obj)) {
|
||||
case 0:
|
||||
RB_DEBUG_COUNTER_INC(obj_hash_empty);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue