[7756] Fixed memory leak in PoolHandler::Initialize().

This commit is contained in:
AlexDereka 2009-05-04 12:23:05 +04:00
parent ebafe6a7b9
commit 255ed61a86
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -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__