summarylogtreecommitdiffstats
path: root/leak.patch
diff options
context:
space:
mode:
Diffstat (limited to 'leak.patch')
-rw-r--r--leak.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/leak.patch b/leak.patch
new file mode 100644
index 00000000000..8ad48439878
--- /dev/null
+++ b/leak.patch
@@ -0,0 +1,12 @@
+diff --git a/src/compression.cpp b/src/compression.cpp
+index 7db0c97..f2290df 100644
+--- a/src/compression.cpp
++++ b/src/compression.cpp
+@@ -364,6 +364,7 @@ compressAcaPartial(const ClusterAssemblyFunction<T>& block, bool useRandomPivots
+ Pivot<dp_t > randomOrDefaultPivot = randomPivotManager.GetPivot();
+ if(I!=randomOrDefaultPivot.row && squaredNorm(randomOrDefaultPivot.value) > maxNorm2){
+ I = randomOrDefaultPivot.row;
++ delete bCol;
+ continue;
+ }
+