1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 09:57:14 +01:00
This commit is contained in:
Sandu Liviu Catalin 2020-04-28 00:04:58 +03:00
parent e7e266314e
commit 9dd016a229

View File

@ -357,7 +357,7 @@ public:
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void Release() {
if (!is_null(obj))
if (!sq_isnull(obj))
{
sq_release(vm, &obj);
sq_resetobject(&obj);