Browse Source

Merge pull request #9086 from jakesmith/hpcc-16250

HPCC-16250 Fix leaking JOIN LHS if LHS already sorted

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 years ago
parent
commit
e83e8657ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thorlcr/activities/join/thjoinslave.cpp

+ 1 - 1
thorlcr/activities/join/thjoinslave.cpp

@@ -485,7 +485,7 @@ public:
         if (noSortPartitionSide())
         {
             partitionRow.setown(primaryInput->ungroupedNextRow());
-            primaryStream.set(new cRowStreamPlus1Adaptor(primaryInput, partitionRow));
+            primaryStream.setown(new cRowStreamPlus1Adaptor(primaryInput, partitionRow));
         }
         else
         {