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
|
else
|
||||||
{
|
{
|
||||||
TRACE("error in theme/widget options");
|
TRACE("error in theme/widget options");
|
||||||
free(options);
|
delete[] options;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
UNPROTECT_LUA();
|
UNPROTECT_LUA();
|
||||||
|
|||||||
Reference in New Issue
Block a user