summaryrefslogtreecommitdiff
path: root/src/utils/types.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02tree-wide: use FREE_AND_NULLIFY macro and reformat codeMole Shang1-3/+3
Jeez idk why i forgot the pass-by-value feature, so the original version never gets the pointer nullified. Fix it by using our favourite C-style macro.
2024-03-01tree-wide: fix uaf bugsMole Shang1-3/+4
2023-08-09tree-wide: pass pointer-to-pointer to correctly free pointersMole Shang1-3/+3
2023-08-09utils/types: support resizing an array to 0Mole Shang1-4/+15
2023-08-07utils: split type definition code into utils/typesMole Shang1-0/+120