Actions
Bug #15953
closedWrong heap size given to ruby_sized_xfree when freeing shared root arrays
    Bug #15953:
    Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
  
Description
In ary_heap_free, the macro ARY_HEAP_CAPA is used to pass on to rb_sized_xfree. However, ARY_HEAP_CAPA uses the aux.capa field,
which is actually the number of shared strings that are using the root array, if a shared root is getting freed. The actually capa is RARRAY_LEN(ary).
I'll add a PR to fix this.
Thanks,
Actions