mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
e42888150a
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue