Skip to content

Commit

Permalink
Clean whole BTree.Builder.values[] array, prevent leak
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Sep 1, 2017
1 parent cd3aca0 commit 2cafd0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/utils/btree/BTree.java
Expand Up @@ -866,7 +866,7 @@ public void recycle()
private void cleanup()
{
quickResolver = null;
Arrays.fill(values, 0, count, null);
Arrays.fill(values, null);
count = 0;
detected = true;
auto = true;
Expand Down

0 comments on commit 2cafd0b

Please sign in to comment.