File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -878,14 +878,12 @@ crossmatch(CrossmatchContext *ctx, ItemPointer values)
878
878
/* Return next result pair if any. Otherwise close SRF. */
879
879
if (ctx -> resultsPairs != NIL )
880
880
{
881
- ResultPair * itemPointerPair = (ResultPair * ) palloc (sizeof (ResultPair ));
882
-
883
- * itemPointerPair = * ((ResultPair * ) linitial (ctx -> resultsPairs ));
881
+ ResultPair itemPointerPair = * ((ResultPair * ) linitial (ctx -> resultsPairs ));
884
882
pfree (linitial (ctx -> resultsPairs ));
885
883
ctx -> resultsPairs = list_delete_first (ctx -> resultsPairs );
886
884
887
- values [0 ] = itemPointerPair -> iptr1 ;
888
- values [1 ] = itemPointerPair -> iptr2 ;
885
+ values [0 ] = itemPointerPair . iptr1 ;
886
+ values [1 ] = itemPointerPair . iptr2 ;
889
887
}
890
888
else
891
889
{
You can’t perform that action at this time.
0 commit comments