fix(color): incorrect method called to free a widget options array (#5593)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user