Fix memory leak in schema_create

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.2, 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2020-11-02
    • 2

      MongoDB testing found a memory leak in the __create_file function of schema_create.c. The leak was introduced in WT-6689, where the memory allocated by the __wt_strndup call is not subsequently freed.

              Assignee:
              Tammy Bailey (Inactive)
              Reporter:
              Tammy Bailey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: