Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13451

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

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

      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@mongodb.com Jie Chen
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: