Fix memory leak in reactive multipart parser
This commit is contained in:
parent
4fbf86e5ce
commit
60f47f4489
|
|
@ -139,6 +139,9 @@ public class SynchronossPartHttpMessageReader implements HttpMessageReader<Part>
|
|||
catch (IOException ex) {
|
||||
listener.onError("Exception thrown providing input to the parser", ex);
|
||||
}
|
||||
finally {
|
||||
DataBufferUtils.release(buffer);
|
||||
}
|
||||
}, (ex) -> {
|
||||
try {
|
||||
listener.onError("Request body input error", ex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue