diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-15 15:05:12 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-15 15:05:12 +0800 |
commit | 3355827fb55a22d9b8064ab55c5f26650f1b1148 (patch) | |
tree | cf8199793e504abf02b4aee0dce4b3c517a7be38 /global.ha | |
parent | Fix indirect memory leak when segments_from_path fails (diff) | |
download | forge-3355827fb55a22d9b8064ab55c5f26650f1b1148.tar.gz forge-3355827fb55a22d9b8064ab55c5f26650f1b1148.tar.zst forge-3355827fb55a22d9b8064ab55c5f26650f1b1148.zip |
Fix memory leak in segments_from_path again
Use freeall on a sub-slice instead of looping; previous behavior also
leaks the memory used by the sp slice itself.
Diffstat (limited to 'global.ha')
0 files changed, 0 insertions, 0 deletions