mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed a couple bugs caught by clang's static analyzer
This commit is contained in:
@@ -46,7 +46,7 @@ int w_Thread_start(lua_State *L)
|
||||
{
|
||||
for (int j = i; j >= 0; j--)
|
||||
delete args[j];
|
||||
delete args;
|
||||
delete[] args;
|
||||
return luaL_argerror(L, i+2, "boolean, number, string, love type, or flat table expected");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user