mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7756] Fixed memory leak in PoolHandler::Initialize().
This commit is contained in:
parent
ebafe6a7b9
commit
255ed61a86
2 changed files with 2 additions and 1 deletions
|
|
@ -623,6 +623,7 @@ void PoolHandler::Initialize()
|
||||||
SpawnPool(pool_entry);
|
SpawnPool(pool_entry);
|
||||||
count++;
|
count++;
|
||||||
} while (result->NextRow());
|
} while (result->NextRow());
|
||||||
|
delete result;
|
||||||
}
|
}
|
||||||
|
|
||||||
sLog.outBasic("Pool handling system initialized, %u pools spawned.", count);
|
sLog.outBasic("Pool handling system initialized, %u pools spawned.", count);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7755"
|
#define REVISION_NR "7756"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue