mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[7725] Fixed memory leak in PlayerDumpWriter.
This commit is contained in:
parent
f8e0fc7dbc
commit
14b49d1fd6
2 changed files with 3 additions and 1 deletions
|
|
@ -356,6 +356,8 @@ std::string PlayerDumpWriter::GetDump(uint32 guid)
|
|||
}
|
||||
else
|
||||
sLog.outError("Table 'character_db_version' not have revision guard field, revision guard query not added to pdump.");
|
||||
|
||||
delete result;
|
||||
}
|
||||
else
|
||||
sLog.outError("Character DB not have 'character_db_version' table, revision guard query not added to pdump.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue