()
| 342 | |
| 343 | // remember to use this to fix up the StringImpl before freeing it |
| 344 | restore() { |
| 345 | this.rstr_view.write64(off.strimpl_m_data, this.m_data); |
| 346 | this.rstr_view.write32(off.strimpl_strlen, original_strlen); |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | // we now have a double free on the fastMalloc heap |