Merge branch 'stringargs-memory-corruption' into 'master'

Don't free stringargs during deep copy

See merge request kart-krew-dev/ring-racers-internal!2505
This commit is contained in:
Eidolon 2025-03-10 13:20:22 -05:00
commit e42888150a

View file

@ -142,11 +142,6 @@ static void copy_stringarg(char **target, const char *source)
// on how it is copied over instead of just
// using strcpy or smth
if (*target != nullptr)
{
Z_Free(*target);
}
size_t len = 0;
if (source != nullptr)
{