Fix gcc warnings (#5071)
Build / Linux (push) Waiting to run
Build / Windows (push) Waiting to run

This commit is contained in:
brainiac
2026-04-24 23:05:32 -07:00
committed by GitHub
parent 5dc093fe5e
commit 6694281f22
20 changed files with 94 additions and 58 deletions
+10
View File
@@ -82,6 +82,16 @@ Lua_Packet::Lua_Packet(const Lua_Packet& o) {
}
}
Lua_Packet::~Lua_Packet()
{
if (owned_) {
EQApplicationPacket* ptr = GetLuaPtrData();
if (ptr) {
delete ptr;
}
}
}
int Lua_Packet::GetSize() {
Lua_Safe_Call_Int();
return static_cast<int>(self->size);