mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
ACS Environment::loadModule: Free vres after generation
Discovered (temporary) memory leak while writing the following commit
This commit is contained in:
parent
99bf1c10e8
commit
f378dfe3f6
1 changed files with 2 additions and 0 deletions
|
|
@ -198,6 +198,8 @@ void Environment::loadModule(ACSVM::Module *module)
|
||||||
{
|
{
|
||||||
CONS_Printf("No BEHAVIOR lump found.\n");
|
CONS_Printf("No BEHAVIOR lump found.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vres_Free(vRes);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue