fix(color): incorrect method called to free a widget options array (#5593)

This commit is contained in:
philmoz
2024-10-06 11:32:52 +10:00
committed by GitHub
parent a4d93c6931
commit 22c9ed4153
+1 -1
View File
@@ -205,7 +205,7 @@ ZoneOption *createOptionsArray(int reference, uint8_t maxOptions)
else
{
TRACE("error in theme/widget options");
free(options);
delete[] options;
return NULL;
}
UNPROTECT_LUA();