ACS Environment::loadModule: Free vres after generation

Discovered (temporary) memory leak while writing the following commit
This commit is contained in:
toaster 2023-02-03 13:53:26 +00:00
parent 99bf1c10e8
commit f378dfe3f6

View file

@ -198,6 +198,8 @@ void Environment::loadModule(ACSVM::Module *module)
{
CONS_Printf("No BEHAVIOR lump found.\n");
}
vres_Free(vRes);
}
else
{