New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZOOKEEPER-4476: Backport ZOOKEEPER-3179 for branch-3.5 #1823
Conversation
oa.writeLong(val, "val"); | ||
oa.writeString("/", "path"); | ||
crcOut.flush(); | ||
SnapStream.sealStream(snapOS, oa); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RESOURCE_LEAK: resource of type java.io.FileOutputStream
acquired by call to getOutputStream(...)
at line 214 is not released after line 219.
(at-me in a reply with help
or ignore
)
InputStream is; | ||
switch (getStreamMode(file.getName())) { | ||
case GZIP: | ||
is = new GZIPInputStream(fis); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RESOURCE_LEAK: resource of type java.io.FileInputStream
acquired by call to FileInputStream(...)
at line 105 is not released after line 109.
(at-me in a reply with help
or ignore
)
OutputStream os; | ||
switch (streamMode) { | ||
case GZIP: | ||
os = new GZIPOutputStream(fos); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RESOURCE_LEAK: resource of type java.io.FileOutputStream
acquired by call to FileOutputStream(...)
at line 129 is not released after line 133.
(at-me in a reply with help
or ignore
)
I am sorry but branch 3.5 is no more active as we declared it End Of Life |
No description provided.