Remove redundant check

Pointer for RSON object was already checked above.
This commit is contained in:
Kawe Mazidjatari 2023-07-10 13:50:05 +02:00
parent 8cb46354e6
commit 65e973f76b

View File

@ -200,11 +200,8 @@ void CSquirrelVM::CompileModScripts()
}
}
if (rson)
{
RSON_Free(rson, AlignedMemAlloc());
AlignedMemAlloc()->Free(rson);
}
RSON_Free(rson, AlignedMemAlloc());
AlignedMemAlloc()->Free(rson);
}
}