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:
parent
3310decf8e
commit
07e2801997
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user