Showing the changes to src/vm/string.cpp (1 of 5 files). Show all
Unified · Split
| @@ -366,7 +366,7 @@ vm_string_t &vm_string_t::append(const vm_string_t &other) · 365 unmodified lines | ||
| 366 | 366 | if (_is_alloc) |
| 367 | 367 | { |
| 368 | 368 | free_memory(local_source); |
| 369 | − _mem.alloc = nullptr; | |
| 369 | + debug::assign_debug_pointer(&_mem.alloc); | |
| 370 | 370 | } |
| 371 | 371 | |
| 372 | 372 | _mem.alloc = new_source; |