Polishing

This commit is contained in:
Arjen Poutsma 2016-06-10 10:39:26 +02:00
parent 61240ee517
commit b5394a1f50
1 changed files with 3 additions and 2 deletions

View File

@ -143,13 +143,14 @@ public class XmlEventDecoder extends AbstractDecoder<XMLEvent> {
}
}
}
DataBufferUtils.release(dataBuffer);
return Flux.fromIterable(events);
}
catch (XMLStreamException ex) {
return Mono.error(ex);
}
finally {
DataBufferUtils.release(dataBuffer);
}
}
}
}