aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
diff options
context:
space:
mode:
authorSébastien Marie <semarie@online.fr>2022-02-24 11:28:42 +0000
committerSébastien Marie <semarie@online.fr>2022-02-24 11:28:42 +0000
commit14f1793b3ec5aa012ee96eee5acad20062014718 (patch)
treeab7ec9999d39dc1827405b59e0a69fa7f98360d9 /src/threading.cpp
parentea34f321ed07e782811f32bdc2ec2125f71577cd (diff)
use `context.temp_allocator` instead of general allocation + delete()
where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
Diffstat (limited to 'src/threading.cpp')
0 files changed, 0 insertions, 0 deletions