summaryrefslogtreecommitdiff
path: root/src/utils/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02tree-wide: use FREE_AND_NULLIFY macro and reformat codeMole Shang1-3/+2
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-1/+1
2023-08-09tree-wide: pass pointer-to-pointer to correctly free pointersMole Shang1-1/+2
2023-08-08utils: expose mimeType2ext in utilsMole Shang1-0/+2
2023-08-08utils: add a method to substitute string using PCREMole Shang1-0/+3
2023-08-07utils: split type definition code into utils/typesMole Shang1-51/+1
2023-08-07utils: move to a separate folderMole Shang1-0/+63