فهرست منبع

HPCC-19125 -ve leak causing KJ crash (regression in HPCC-19087)

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 7 سال پیش
والد
کامیت
4c7194ad5e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      thorlcr/activities/keyedjoin/thkeyedjoinslave.cpp

+ 1 - 1
thorlcr/activities/keyedjoin/thkeyedjoinslave.cpp

@@ -1206,7 +1206,7 @@ class CKeyedJoinSlave : public CSlaveActivity, implements IJoinProcessor, implem
             {
                 Owned<IKeyIndexSet> partKeySet = createKeyIndexSet();
                 ForEachItemIn(i, partKeyIndexes)
-                    partKeySet->addIndex(&partKeyIndexes.item(i));
+                    partKeySet->addIndex(LINK(&partKeyIndexes.item(i)));
                 currentPart = &partKeyIndexes.item(0);
                 partManager.setown(createKeyMerger(partKeySet, owner.fixedRecordSize, 0, nullptr));
             }