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

Fix memory leak in schema_create

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.4.2, 4.9.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            tammy.bailey Tammy Bailey
            Reporter:
            tammy.bailey Tammy Bailey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: