()
| 366 | |
| 367 | // remember to use this to fix up the StringImpl before freeing it |
| 368 | restore() { |
| 369 | this.rstr_view.write64(off.strimpl_m_data, this.m_data); |
| 370 | this.rstr_view.write32(off.strimpl_strlen, original_strlen); |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | // we now have a double free on the fastMalloc heap |