logback-gelf
logback-gelf copied to clipboard
GelfSender is not closing streams on exception
https://github.com/pukkaone/logback-gelf/blob/73a6c972ecd07d979446e894c3b289e68a5ef404/src/main/java/com/github/pukkaone/gelf/protocol/GelfSender.java#L17
As it is not using try-with-resources or properly handling close on finally() there is a risk of memory leak on "off-heap" memory. See: http://www.evanjones.ca/java-native-leak-bug.html