1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Fix leak in ioFilterGroupResultAllSet().

The PackRead containing the filter results was leaked.
This commit is contained in:
David Steele 2022-04-26 10:39:28 -04:00
parent 3310decf8e
commit 07e2801997

View File

@ -520,11 +520,11 @@ ioFilterGroupResultAllSet(IoFilterGroup *const this, const Pack *const filterRes
if (filterResultPack != NULL)
{
PackRead *const packRead = pckReadNew(filterResultPack);
// Unpack the results into a list
MEM_CONTEXT_TEMP_BEGIN()
{
PackRead *const packRead = pckReadNew(filterResultPack);
MEM_CONTEXT_BEGIN(lstMemContext(this->filterResult))
{
while (!pckReadNullP(packRead))