scoped_bson_t::steal() doesn't clear _is_initialized flag

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This problem showed up during testing of another feature.  scoped_bson_t holds an internal flag to signal if it holds memory.  When steal() is called, the scoped_bson_t releases its owned memory to the caller; it should clear its ownership flag, too.

              Assignee:
              Samantha Ritter (Inactive)
              Reporter:
              Samantha Ritter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: