Skip to content
Snippets Groups Projects
Commit e4ffabe1 authored by BlackOverlord's avatar BlackOverlord
Browse files

resource leak fix

parent 1fcda47a
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@ public class ShellLink {
public ShellLink(InputStream in) throws IOException, ShellLinkException {
this(new ByteReader(in));
in.close();
}
private ShellLink(ByteReader data) throws ShellLinkException, IOException {
......@@ -127,6 +128,7 @@ public class ShellLink {
i.serialize(bw);
bw.write4bytes(0);
out.close();
}
public ShellLinkHeader getHeader() { return header; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment