From: David ‘Bombe’ Roden Date: Sat, 10 Jan 2015 19:28:07 +0000 (+0100) Subject: Free bucket after image insert. X-Git-Tag: 0.9-rc1^2~4^2~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cdb237882793284e0f1a30d5c3376f58fae2f6b7;p=Sone.git Free bucket after image insert. --- 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(); } }