ByteBufBsonDocument duplicates a ByteBuf with no way to release it

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      ByteBufBsonDocument.createOne(final ByteBuf outputByteBuf) duplicates the byteBuf with no way to release it.

      This hasn't been an issue so far but could potentially leak {{ByteBuf}}s and use excess memory over time.

            Assignee:
            Unassigned
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: