summarylogtreecommitdiffstats
path: root/leak.patch
diff options
context:
space:
mode:
authorMichel Zou2021-06-10 15:25:48 +0200
committerMichel Zou2021-06-10 15:25:48 +0200
commit715614da383c2f9f1b9247c2e91e7da99dff3b59 (patch)
tree9e5fadf13b8b5059e3a5ebcb1d9f56bdc38e2fb5 /leak.patch
parent7752dd1fc82b0fa13e1f281c3be1b89f6a71c3d0 (diff)
downloadaur-715614da383c2f9f1b9247c2e91e7da99dff3b59.tar.gz
leak
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;
+ }
+