mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:03:03 +01:00
Fixed a memory leak.
This commit is contained in:
parent
631e6c8938
commit
4fd218b8bd
@ -213,7 +213,7 @@ static void ClearShortPool()
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < MAX_PARAMS; i++)
|
for (int i = 0; i < MAX_PARAMS; i++)
|
||||||
{
|
{
|
||||||
if (shortPoolInitialized && intPool[i])
|
if (shortPoolInitialized && shortPool[i])
|
||||||
free(shortPool[i]);
|
free(shortPool[i]);
|
||||||
shortPool[i] = NULL;
|
shortPool[i] = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user