From cdb237882793284e0f1a30d5c3376f58fae2f6b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 10 Jan 2015 20:28:07 +0100 Subject: [PATCH] Free bucket after image insert. --- src/main/java/net/pterodactylus/sone/core/FreenetInterface.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 7cb8a9a..e3a215a 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -168,6 +168,8 @@ public class FreenetInterface { insertToken.setClientPutter(clientPutter); } catch (InsertException ie1) { throw new SoneInsertException("Could not start image insert.", ie1); + } finally { + bucket.free(); } } -- 2.7.4