Commit 74b712c
committed
Fix DU-chain memory management using arena alloc
This commit migrates definition-use (DU) chain allocation from manual
memory management to the arena allocator system. This change ensures
consistent memory handling and prevents potential memory leaks.
The DU-chain memory is now automatically freed when INSN_ARENA is
destroyed during global_release(), following shecc's established memory
management patterns.
Close #1601 parent 8a263c7 commit 74b712c
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
| 413 | + | |
418 | 414 | | |
419 | 415 | | |
420 | 416 | | |
| |||
439 | 435 | | |
440 | 436 | | |
441 | 437 | | |
442 | | - | |
443 | 438 | | |
444 | 439 | | |
445 | 440 | | |
| |||
0 commit comments