Skip to content

Commit 35f40f1

Browse files
author
Alexander Korotkov
committed
Fix freeing tuplesort state.
1 parent 993994b commit 35f40f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rumscan.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,10 @@ rumrescan(IndexScanDesc scan, ScanKey scankey, int nscankeys,
476476
}
477477

478478
if (so->sortstate)
479+
{
479480
rum_tuplesort_end(so->sortstate);
481+
so->sortstate = NULL;
482+
}
480483
}
481484

482485
void

0 commit comments

Comments
 (0)