mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/DB Layer: Fix a memory leak.
This commit is contained in:
@@ -246,8 +246,6 @@ extern int main(int argc, char **argv)
|
||||
// Initialize connection to the database
|
||||
bool StartDB()
|
||||
{
|
||||
MySQL::Library_Init();
|
||||
|
||||
std::string dbstring = ConfigMgr::GetStringDefault("LoginDatabaseInfo", "");
|
||||
if (dbstring.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user