8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 23:23:04 +01:00

Fixed a memory leak.

This commit is contained in:
sboyd 2009-12-17 21:55:07 +00:00
parent 631e6c8938
commit 4fd218b8bd

View File

@ -213,7 +213,7 @@ static void ClearShortPool()
{
for (int i = 0; i < MAX_PARAMS; i++)
{
if (shortPoolInitialized && intPool[i])
if (shortPoolInitialized && shortPool[i])
free(shortPool[i]);
shortPool[i] = NULL;
}