Update free block functions to pass in double pointer for to make it consistent with wiredtigers free pattern

XMLWordPrintableJSON

    • Storage Engines
    • 2024-09-03 Q3 Streams v1
    • 1

      Currently the problem is that the __wti_block_ext_free function doesn't take in a double pointer. In the general case, this is okay and does not have any faults with regards to correctness issues. The function is hard to test because internally __wti_block_ext_free would do a copy-by-value of the pointer that is passed in. The __wt_free would only set the copy-by-value pointer to NULL and not the original pointer.

              Assignee:
              Jie Chen
              Reporter:
              Jie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: