You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by uc...@apache.org on 2014/06/25 10:31:37 UTC
git commit: [FLINK-980] Fix buffer leak in OutputChannel
Repository: incubator-flink
Updated Branches:
refs/heads/master 2f0bd8fa2 -> f13ad5b41
[FLINK-980] Fix buffer leak in OutputChannel
Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/f13ad5b4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/f13ad5b4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/f13ad5b4
Branch: refs/heads/master
Commit: f13ad5b415a57e7d1c97319935a04f076cc1776b
Parents: 2f0bd8f
Author: uce <u....@fu-berlin.de>
Authored: Wed Jun 25 10:30:32 2014 +0200
Committer: uce <u....@fu-berlin.de>
Committed: Wed Jun 25 10:30:32 2014 +0200
----------------------------------------------------------------------
.../java/eu/stratosphere/runtime/io/channels/OutputChannel.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/f13ad5b4/stratosphere-runtime/src/main/java/eu/stratosphere/runtime/io/channels/OutputChannel.java
----------------------------------------------------------------------
diff --git a/stratosphere-runtime/src/main/java/eu/stratosphere/runtime/io/channels/OutputChannel.java b/stratosphere-runtime/src/main/java/eu/stratosphere/runtime/io/channels/OutputChannel.java
index f4fed65..b620f78 100644
--- a/stratosphere-runtime/src/main/java/eu/stratosphere/runtime/io/channels/OutputChannel.java
+++ b/stratosphere-runtime/src/main/java/eu/stratosphere/runtime/io/channels/OutputChannel.java
@@ -66,6 +66,7 @@ public class OutputChannel extends Channel {
// discard empty buffers
if (buffer.size() == 0) {
+ buffer.recycleBuffer();
return;
}