Skip to content

Commit

Permalink
fix data leak BRC when dealing with Hive data
Browse files Browse the repository at this point in the history
  • Loading branch information
costin committed Nov 7, 2013
1 parent 45e95ab commit 56fde61
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -122,6 +122,7 @@ public void writeProcessedToIndex(BytesArray ba) throws IOException {
Assert.isTrue(ba.size() > 0, "no data given");

lazyInitWriting();
objectAlreadySerialized.clear();
objectAlreadySerialized.add(ba);
doWriteToIndex(objectAlreadySerialized);
}
Expand Down

0 comments on commit 56fde61

Please sign in to comment.