mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-21 06:02:36 +00:00
Free unwittingly malloc'd memory.
This commit is contained in:
parent
a7ea4db50d
commit
a205276a01
1 changed files with 2 additions and 0 deletions
|
|
@ -2059,6 +2059,8 @@ static void Nextmap_OnChange(void)
|
|||
|
||||
if (mapheaderinfo[cv_nextmap.value-1] && mapheaderinfo[cv_nextmap.value-1]->forcecharacter[0] != '\0')
|
||||
CV_Set(&cv_chooseskin, mapheaderinfo[cv_nextmap.value-1]->forcecharacter);
|
||||
|
||||
free(gpath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue