diff options
| author | Sébastien Marie <semarie@online.fr> | 2022-02-24 11:28:42 +0000 |
|---|---|---|
| committer | Sébastien Marie <semarie@online.fr> | 2022-02-24 11:28:42 +0000 |
| commit | 14f1793b3ec5aa012ee96eee5acad20062014718 (patch) | |
| tree | ab7ec9999d39dc1827405b59e0a69fa7f98360d9 /src/threading.cpp | |
| parent | ea34f321ed07e782811f32bdc2ec2125f71577cd (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